dolphin/Source/Core/AudioCommon/Src/SConscript
Soren Jorvang 8b9b66911f Clean up OS X wx library handling a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6403 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-14 06:02:44 +00:00

30 lines
674 B
Python

# -*- python -*-
Import('env')
import sys
files = [
'AudioCommonConfig.cpp',
'WaveFile.cpp',
'Mixer.cpp',
'AudioCommon.cpp',
'NullSoundStream.cpp',
]
if sys.platform == 'darwin':
files += [ 'CoreAudioSoundStream.cpp' ]
else:
if env['HAVE_ALSA']:
files += [ 'AlsaSoundStream.cpp' ]
if env['HAVE_AO']:
files += [ 'AOSoundStream.cpp' ]
if env['HAVE_OPENAL'] or sys.platform == 'win32':
files += [ 'OpenALStream.cpp', 'aldlist.cpp' ]
if env['HAVE_PULSEAUDIO']:
files += [ 'PulseAudioStream.cpp' ]
if sys.platform == 'win32':
files += [ 'DSoundStream.cpp' ]
files += [ 'XAudio2Stream.cpp' ]
env.StaticLibrary(env['local_libs'] + 'audiocommon', files)