add GetSampleRate
This commit is contained in:
@@ -59,6 +59,7 @@ public:
|
|||||||
void Stop();
|
void Stop();
|
||||||
void SetVolume(float vol);
|
void SetVolume(float vol);
|
||||||
void SetSampleRate(int hz);
|
void SetSampleRate(int hz);
|
||||||
|
int GetSampleRate() { return samplerate; }
|
||||||
|
|
||||||
~DSoundBuf();
|
~DSoundBuf();
|
||||||
int GetPosition() const;
|
int GetPosition() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user