mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-19 15:31:53 +00: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:
parent
3114c27143
commit
9d312559cf
4 changed files with 169 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue