From fec182d23b1d72be7ed3adf5503d018afa187006 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 10 Jan 2004 10:28:50 +0000 Subject: [PATCH] add GetSampleRate --- stepmania/src/arch/Sound/DSoundHelpers.h | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/arch/Sound/DSoundHelpers.h b/stepmania/src/arch/Sound/DSoundHelpers.h index 72eb92bf05..307b2b6be3 100644 --- a/stepmania/src/arch/Sound/DSoundHelpers.h +++ b/stepmania/src/arch/Sound/DSoundHelpers.h @@ -59,6 +59,7 @@ public: void Stop(); void SetVolume(float vol); void SetSampleRate(int hz); + int GetSampleRate() { return samplerate; } ~DSoundBuf(); int GetPosition() const;