StartDecodeThread
This commit is contained in:
@@ -116,6 +116,8 @@ try {
|
||||
pcm->SetSampleRate( samplerate );
|
||||
LOG->Info( "ALSA: Software mixing at %ihz", samplerate );
|
||||
|
||||
StartDecodeThread();
|
||||
|
||||
MixingThread.SetName( "RageSound_ALSA9_Software" );
|
||||
MixingThread.Create( MixerThread_start, this );
|
||||
} catch(...) {
|
||||
|
||||
@@ -110,6 +110,8 @@ RageSound_CA::RageSound_CA()
|
||||
const Desc& physicalFormat = FindClosestFormat( physicalFormats );
|
||||
stream.SetCurrentPhysicalFormat( physicalFormat );
|
||||
|
||||
StartDecodeThread();
|
||||
|
||||
gConverter = new AudioConverter( this, procFormat );
|
||||
|
||||
try
|
||||
|
||||
@@ -94,6 +94,8 @@ RageSound_DSound_Software::RageSound_DSound_Software()
|
||||
pcm->release_output_buf(locked_buf, len);
|
||||
}
|
||||
|
||||
StartDecodeThread();
|
||||
|
||||
/* Start playing. */
|
||||
pcm->Play();
|
||||
|
||||
|
||||
@@ -135,6 +135,8 @@ RageSound_WaveOut::RageSound_WaveOut()
|
||||
buffers[b].dwFlags |= WHDR_DONE;
|
||||
}
|
||||
|
||||
StartDecodeThread();
|
||||
|
||||
MixingThread.SetName("Mixer thread");
|
||||
MixingThread.Create( MixerThread_start, this );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user