mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1251502 - Compile the resampling code in cubeb for OSX and Linux. r=kinetik
MozReview-Commit-ID: FqDBIojiAuF
This commit is contained in:
parent
8c04e867b0
commit
f8e11f59de
@ -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 += [
|
||||
|
Loading…
Reference in New Issue
Block a user