~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/third_party/build/portaudio/os-linux.mak

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# @configure_input@
2
 
 
3
 
# Define the desired sound device backend
4
 
# Valid values are:
5
 
#   - pa_unix:          PortAudio on Unix (OSS or ALSA)
6
 
#   - pa_darwinos:      PortAudio on MacOSX (CoreAudio)
7
 
#   - pa_old_darwinos:  PortAudio on MacOSX (old CoreAudio, for OSX 10.2)
8
 
#   - pa_win32:         PortAudio on Win32 (WMME)
9
 
#
10
 
# There are other values below, but these are handled by PJMEDIA's Makefile
11
 
#   - ds:               Win32 DirectSound (dsound.c)
12
 
#   - null:             Null sound device (nullsound.c)
13
 
AC_PJMEDIA_SND=pa_unix
14
 
 
15
 
# For Unix, specify if ALSA should be supported
16
 
AC_PA_USE_ALSA=0
17
 
 
18
 
#
19
 
# PortAudio on Unix
20
 
#
21
 
ifeq ($(AC_PJMEDIA_SND),pa_unix)
22
 
# Host APIs and utils
23
 
export PORTAUDIO_OBJS += pa_unix_hostapis.o pa_unix_util.o
24
 
 
25
 
# Include ALSA?
26
 
ifeq ($(AC_PA_USE_ALSA),1)
27
 
export CFLAGS += -DPA_USE_ALSA=1
28
 
export PORTAUDIO_OBJS += pa_linux_alsa.o
29
 
endif
30
 
 
31
 
export CFLAGS += -DPA_USE_OSS=1 -DHAVE_SYS_SOUNDCARD_H
32
 
export PORTAUDIO_OBJS += pa_unix_oss.o
33
 
endif
34