From dcbd6454eb60976136ac4f7c6f70271909b054b1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 10 Apr 2004 07:18:19 +0000 Subject: [PATCH] StartDecodeThread earlier --- stepmania/src/arch/Sound/RageSoundDriver_QT1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_QT1.cpp b/stepmania/src/arch/Sound/RageSoundDriver_QT1.cpp index e84dd38cce..befc7aef40 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_QT1.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_QT1.cpp @@ -54,6 +54,8 @@ RageSound_QT1::RageSound_QT1() latency = static_cast(samples) / freq; /* double buffer */ LOG->Trace("The output latency is %f", latency); + StartDecodeThread(); + OSErr err = SndNewChannel(&channel, sampledSynth, initStereo, callback); if (err != noErr) @@ -81,8 +83,6 @@ RageSound_QT1::RageSound_QT1() if (err != noErr) RageException::ThrowNonfatal("Unable to create audio channel"); - - StartDecodeThread(); } RageSound_QT1::~RageSound_QT1()