mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Linux: Add libao to DSL_NULL plugin so I get audio in linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@89 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
#include "AboutDlg.h"
|
||||
#include "ConfigDlg.h"
|
||||
#else
|
||||
// TODO
|
||||
#include "PCHW/AOSoundStream.h"
|
||||
#endif
|
||||
|
||||
#include "PCHW/Mixer.h"
|
||||
@ -110,6 +110,8 @@ void DSP_Initialize(DSPInitialize _dspInitialize)
|
||||
|
||||
#ifdef _WIN32
|
||||
DSound::DSound_StartSound((HWND)g_dspInitialize.hWnd, g_Config.m_SampleRate, Mixer);
|
||||
#else
|
||||
AOSound::AOSound_StartSound(g_Config.m_SampleRate, Mixer);
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -119,6 +121,8 @@ void DSP_Shutdown()
|
||||
// delete the UCodes
|
||||
#ifdef _WIN32
|
||||
DSound::DSound_StopSound();
|
||||
#else
|
||||
AOSound::AOSound_StopSound();
|
||||
#endif
|
||||
CDSPHandler::Destroy();
|
||||
}
|
||||
|
Reference in New Issue
Block a user