m_iSoundWriteAhead for ALSA9-sw
This commit is contained in:
@@ -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" );
|
||||
|
||||
Reference in New Issue
Block a user