enable experimental mic support on linux if port audio is found

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2491 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2009-03-01 00:07:17 +00:00
parent 324abc9a7f
commit 660bdaac19
2 changed files with 6 additions and 2 deletions

View File

@ -205,6 +205,9 @@ env['HAVE_BLUEZ'] = conf.CheckPKG('bluez')
# needed for sound
env['HAVE_AO'] = conf.CheckPKG('ao')
# needed for mic
env['HAVE_PORTAUDIO'] = conf.CheckPKG('portaudio')
#osx 64 specifics
if sys.platform == 'darwin':
if env['osx'] == '64cocoa':
@ -264,6 +267,7 @@ conf.Define('HAVE_WX', env['HAVE_WX'])
conf.Define('USE_WX', env['USE_WX'])
conf.Define('HAVE_X11', env['HAVE_X11'])
conf.Define('HAVE_COCOA', env['HAVE_COCOA'])
conf.Define('HAVE_PORTAUDIO', env['HAVE_PORTAUDIO'])
# profile
env['USE_OPROFILE'] = 0

View File

@ -27,8 +27,8 @@
bool MicButton = false;
bool IsOpen;
//#define USE_PORTAUDIO
#ifndef USE_PORTAUDIO
//#define HAVE_PORTAUDIO
#ifndef HAVE_PORTAUDIO || ! HAVE_PORTAUDIO
void SetMic(bool Value){}