Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
244 chris 1
#ifndef __SOUNDINSTANCE_H__
2
#define __SOUNDINSTANCE_H__
3
 
4
#include <windows.h>
5
#include "Common.h"
6
 
7
namespace Sexy
8
{
9
 
10
class SoundInstance
11
{
12
public:
13
        SoundInstance() {}
14
        virtual ~SoundInstance() {}
15
        virtual void                    Release() = NULL;
16
 
17
        virtual void                    SetBaseVolume(double theBaseVolume) = NULL;
18
        virtual void                    SetBasePan(int theBasePan) = NULL;
19
 
20
        virtual void                    AdjustPitch(double theNumSteps) = NULL;
21
 
22
        virtual void                    SetVolume(double theVolume) = NULL;
23
        virtual void                    SetPan(int thePosition) = NULL; //-hundredth db to +hundredth db = left to right
24
 
25
        virtual bool                    Play(bool looping, bool autoRelease) = NULL;   
26
        virtual void                    Stop() = NULL;
27
        virtual bool                    IsPlaying() = NULL;
28
        virtual bool                    IsReleased() = NULL;
29
        virtual double                  GetVolume() = NULL;
30
};
31
 
32
}
33
 
34
#endif //__SOUNDINSTANCE_H__