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