/usr/include/tuxcap/SoundManager.h is in libtuxcap-dev 1.4.0.dfsg2-2.2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | #ifndef __SOUNDMANAGER_H__
#define __SOUNDMANAGER_H__
#include "Common.h"
#ifndef WIN32
#define HWND void*
#endif
namespace Sexy
{
class SoundInstance;
#define MAX_SOURCE_SOUNDS 256
#define MAX_CHANNELS 32
class SoundManager
{
public:
SoundManager() {}
virtual ~SoundManager() {}
virtual bool Initialized() = 0;
virtual bool LoadSound(unsigned int theSfxID, const std::string& theFilename) = 0;
virtual int LoadSound(const std::string& theFilename) = 0;
virtual void ReleaseSound(unsigned int theSfxID) = 0;
virtual void SetVolume(double theVolume) = 0;
virtual bool SetBaseVolume(unsigned int theSfxID, double theBaseVolume) = 0;
virtual bool SetBasePan(unsigned int theSfxID, int theBasePan) = 0;
virtual SoundInstance* GetSoundInstance(unsigned int theSfxID) = 0;
virtual void ReleaseSounds() = 0;
virtual void ReleaseChannels() = 0;
virtual double GetMasterVolume() = 0;
virtual void SetMasterVolume(double theVolume) = 0;
virtual void Flush() = 0;
virtual void SetCooperativeWindow(HWND theHWnd, bool isWindowed) = 0;
virtual void StopAllSounds() = 0;
virtual int GetFreeSoundId() = 0;
virtual int GetNumSounds() = 0;
};
}
#endif //__SOUNDMANAGER_H__
|