/usr/include/tuxcap/MusicInterface.h is in libtuxcap-dev 1.4.0.dfsg2-2.3+b2.
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 | #ifndef __MUSICINTERFACE_H__
#define __MUSICINTERFACE_H__
#include "Common.h"
namespace Sexy
{
class MusicInterface
{
public:
public:
MusicInterface();
virtual ~MusicInterface();
virtual bool LoadMusic(int theSongId, const std::string& theFileName);
virtual void PlayMusic(int theSongId, int theOffset = 0, bool noLoop = false);
virtual void StopMusic(int theSongId);
virtual void PauseMusic(int theSongId);
virtual void ResumeMusic(int theSongId);
virtual void StopAllMusic();
virtual void UnloadMusic(int theSongId);
virtual void UnloadAllMusic();
virtual void PauseAllMusic();
virtual void ResumeAllMusic();
virtual void FadeIn(int theSongId, int theOffset = -1, double theSpeed = 0.002, bool noLoop = false);
virtual void FadeOut(int theSongId, bool stopSong = true, double theSpeed = 0.004);
virtual void FadeOutAll(bool stopSong = true, double theSpeed = 0.004);
virtual void SetSongVolume(int theSongId, double theVolume);
virtual void SetSongMaxVolume(int theSongId, double theMaxVolume);
virtual bool IsPlaying(int theSongId);
virtual void SetVolume(double theVolume);
virtual void SetMusicAmplify(int theSongId, double theAmp);
virtual void Update();
};
}
#endif //__MUSICINTERFACE_H__
|