make music public
This commit is contained in:
@@ -31,8 +31,6 @@ class RageSoundManager
|
|||||||
|
|
||||||
RageSoundDriver *driver;
|
RageSoundDriver *driver;
|
||||||
|
|
||||||
RageSound *music;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
RageMutex lock;
|
RageMutex lock;
|
||||||
|
|
||||||
@@ -58,6 +56,8 @@ public:
|
|||||||
|
|
||||||
void PlayMusic(CString file, bool loop = true, float start_sec = -1, float length_sec = -1);
|
void PlayMusic(CString file, bool loop = true, float start_sec = -1, float length_sec = -1);
|
||||||
static void MixAudio(Sint16 *dst, const Sint16 *src, Uint32 len, float volume);
|
static void MixAudio(Sint16 *dst, const Sint16 *src, Uint32 len, float volume);
|
||||||
|
|
||||||
|
RageSound *music;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* This inputs and outputs 16-bit 44khz stereo input. */
|
/* This inputs and outputs 16-bit 44khz stereo input. */
|
||||||
|
|||||||
Reference in New Issue
Block a user