m_iSoundWriteAhead for ALSA9-sw

This commit is contained in:
Glenn Maynard
2003-12-02 20:56:04 +00:00
parent fec773d97c
commit bc9d6fb205
@@ -7,6 +7,7 @@
#include "RageUtil.h"
#include "RageTimer.h"
#include "ALSA9Dynamic.h"
#include "PrefsManager.h"
#include "archutils/Unix/GetSysInfo.h"
@@ -172,6 +173,9 @@ try {
if( sys == "Linux" && vers >= 0x020600 )
max_writeahead = max_writeahead_linux_26;
if( PREFSMAN->m_iSoundWriteAhead )
max_writeahead = PREFSMAN->m_iSoundWriteAhead;
pcm = new Alsa9Buf( Alsa9Buf::HW_DONT_CARE, channels, samplerate );
MixingThread.SetName( "RageSound_ALSA9_Software" );