Bug 1251502 - Compile the resampling code in cubeb for OSX and Linux. r=kinetik

MozReview-Commit-ID: FqDBIojiAuF
This commit is contained in:
Alex Chronopoulos 2016-03-25 17:42:30 +01:00
parent 8c04e867b0
commit f8e11f59de

View File

@ -4,6 +4,8 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEFINES['CUBEB_GECKO_BUILD'] = True
Library('cubeb')
SOURCES += [
@ -20,6 +22,7 @@ if CONFIG['MOZ_ALSA']:
if CONFIG['MOZ_PULSEAUDIO']:
SOURCES += [
'cubeb_pulse.c',
'cubeb_resampler.cpp' # for tests
]
DEFINES['USE_PULSE'] = True
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
@ -34,6 +37,7 @@ if CONFIG['OS_ARCH'] == 'OpenBSD':
if CONFIG['OS_TARGET'] == 'Darwin':
SOURCES += [
'cubeb_audiounit.c',
'cubeb_resampler.cpp'
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
SOURCES += [