Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
244 chris 1
#ifndef __FMODSOUNDINSTANCE_H__
2
#define __FMODSOUNDINSTANCE_H__
3
 
4
#include "SoundInstance.h"
5
#include "fmod.h"
6
 
7
namespace Sexy
8
{
9
 
10
class FModSoundInstance : public SoundInstance
11
{
12
public:
13
        int                                             mChannelNum;
14
        FSOUND_STREAM*                  mStream;
15
 
16
public:
17
        FModSoundInstance();
18
        virtual ~FModSoundInstance();
19
        virtual void                    Release();
20
 
21
        virtual void                    SetVolume(double theVolume);
22
        virtual void                    SetPan(int thePosition); //-db to +db = left to right
23
 
24
        virtual bool                    Play(bool looping, bool autoRelease);
25
        virtual void                    Stop();
26
        virtual bool                    IsPlaying();
27
        virtual bool                    IsReleased();
28
};
29
 
30
}
31
 
32
#endif //__FMODSOUNDINSTANCE_H__