diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-10-13 17:57:42 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-10-13 17:57:42 +0000 |
commit | 58d42b6fbe3277ec2de962353ee0eed4afcca627 (patch) | |
tree | 9e64fa2d9b955f0a4a90d7c4e3c967e9db1582ba /pjmedia/build/os-auto.mak.in | |
parent | 724b815aa990f9c5438841dfca5ea5d937f8231e (diff) |
Updated PortAudio to latest version for Mac
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@770 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/build/os-auto.mak.in')
-rw-r--r-- | pjmedia/build/os-auto.mak.in | 39 |
1 files changed, 30 insertions, 9 deletions
diff --git a/pjmedia/build/os-auto.mak.in b/pjmedia/build/os-auto.mak.in index e35cebd3..9f444690 100644 --- a/pjmedia/build/os-auto.mak.in +++ b/pjmedia/build/os-auto.mak.in @@ -5,16 +5,19 @@ export CFLAGS += @ac_no_small_filter@ @ac_no_large_filter@ @ac_no_g711_plc@ @ac_ # Define the desired sound device backend # Valid values are: -# - pa_unix: PortAudio on Unix (OSS or ALSA) -# - pa_darwinos: PortAudio on MacOSX (CoreAudio) -# - pa_win32: PortAudio on Win32 (WMME) -# - ds: Win32 DirectSound (dsound.c) -# - null: Null sound device (nullsound.c) +# - pa_unix: PortAudio on Unix (OSS or ALSA) +# - pa_darwinos: PortAudio on MacOSX (CoreAudio) +# - pa_old_darwinos: PortAudio on MacOSX (old CoreAudio, for OSX 10.2) +# - pa_win32: PortAudio on Win32 (WMME) +# - ds: Win32 DirectSound (dsound.c) +# - null: Null sound device (nullsound.c) AC_PJMEDIA_SND=@ac_pjmedia_snd@ # For Unix, specify if ALSA should be supported AC_PA_USE_ALSA=@ac_pa_use_alsa@ +# Additional PortAudio CFLAGS are in @ac_pa_cflags@ + # # Codecs # @@ -77,16 +80,34 @@ endif # -# PortAudio on MacOS X +# PortAudio on MacOS X (using current PortAudio) # ifeq ($(AC_PJMEDIA_SND),pa_darwinos) -export PJMEDIA_OBJS += $(PA_DIR)/pa_mac_hostapis.o $(PA_DIR)/pa_unix_util.o \ - $(PA_DIR)/pa_mac_core.o -export CFLAGS += -DPA_USE_COREAUDIO=1 \ +export PJMEDIA_OBJS += $(PA_DIR)/pa_mac_hostapis.o \ + $(PA_DIR)/pa_unix_util.o \ + $(PA_DIR)/pa_mac_core.o \ + $(PA_DIR)/pa_mac_core_blocking.o \ + $(PA_DIR)/pa_mac_core_utilities.o \ + $(PA_DIR)/ringbuffer.o +export CFLAGS += -DPA_USE_COREAUDIO=1 \ -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_PORTAUDIO_SOUND +export CFLAGS += @ac_pa_cflags@ endif # +# PortAudio on MacOS X (using old PortAudio, for MacOS X 10.2.x) +# +ifeq ($(AC_PJMEDIA_SND),pa_old_darwinos) +export PJMEDIA_OBJS += $(PA_DIR)/pa_mac_hostapis.o \ + $(PA_DIR)/pa_unix_util.o \ + $(PA_DIR)/pa_mac_core_old.o +export CFLAGS += -DPA_USE_COREAUDIO=1 \ + -DPJMEDIA_SOUND_IMPLEMENTATION=PJMEDIA_SOUND_PORTAUDIO_SOUND +export CFLAGS += @ac_pa_cflags@ +endif + +# +# # PortAudio on Win32 (WMME) # ifeq ($(AC_PJMEDIA_SND),pa_win32) |