dolphin/Source/Core/AudioCommon/Src/SConscript

29 lines
553 B
Python
Raw Normal View History

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