From beca62eee189db864c85259de773b3fadadc2482 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 26 Jul 2003 22:50:54 +0000 Subject: [PATCH] add RageSounds::GetPlayLatency --- stepmania/src/RageSounds.cpp | 5 +++++ stepmania/src/RageSounds.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/stepmania/src/RageSounds.cpp b/stepmania/src/RageSounds.cpp index e0c8fb8142..efb70b5020 100644 --- a/stepmania/src/RageSounds.cpp +++ b/stepmania/src/RageSounds.cpp @@ -70,6 +70,11 @@ void RageSounds::PlayOnceFromDir( CString PlayOnceFromDir ) SOUNDMAN->PlayOnceFromDir( PlayOnceFromDir ); } +float RageSounds::GetPlayLatency() const +{ + return SOUNDMAN->GetPlayLatency(); +} + /* ----------------------------------------------------------------------------- Copyright (c) 2002-2003 by the person(s) listed below. All rights reserved. diff --git a/stepmania/src/RageSounds.h b/stepmania/src/RageSounds.h index 17fa828eda..4155641d8f 100644 --- a/stepmania/src/RageSounds.h +++ b/stepmania/src/RageSounds.h @@ -18,6 +18,8 @@ public: void PlayOnce( CString sPath ); void PlayOnceFromDir( CString sDir ); + + float GetPlayLatency() const; }; extern RageSounds *SOUND;