cleanup
This commit is contained in:
@@ -9,6 +9,19 @@
|
|||||||
|
|
||||||
class RageSound_ALSA9: public RageSoundDriver
|
class RageSound_ALSA9: public RageSoundDriver
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
|
/* virtuals: */
|
||||||
|
void StartMixing(RageSoundBase *snd);
|
||||||
|
void StopMixing(RageSoundBase *snd);
|
||||||
|
int64_t GetPosition( const RageSoundBase *snd ) const;
|
||||||
|
int GetSampleRate( int rate ) const;
|
||||||
|
|
||||||
|
void Update(float delta);
|
||||||
|
|
||||||
|
RageSound_ALSA9();
|
||||||
|
CString Init();
|
||||||
|
~RageSound_ALSA9();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/* This mutex serializes the decode thread and StopMixing. */
|
/* This mutex serializes the decode thread and StopMixing. */
|
||||||
RageMutex m_Mutex;
|
RageMutex m_Mutex;
|
||||||
@@ -55,19 +68,6 @@ private:
|
|||||||
RageThread MixingThread;
|
RageThread MixingThread;
|
||||||
|
|
||||||
void GetData();
|
void GetData();
|
||||||
|
|
||||||
public:
|
|
||||||
/* virtuals: */
|
|
||||||
void StartMixing(RageSoundBase *snd);
|
|
||||||
void StopMixing(RageSoundBase *snd);
|
|
||||||
int64_t GetPosition( const RageSoundBase *snd ) const;
|
|
||||||
int GetSampleRate( int rate ) const;
|
|
||||||
|
|
||||||
void Update(float delta);
|
|
||||||
|
|
||||||
RageSound_ALSA9();
|
|
||||||
CString Init();
|
|
||||||
~RageSound_ALSA9();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user