mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
cubeb: disable wasapi backend when '--enable-int-audio-sample' is specified, since it can handle float32 sample only in our current cubeb library.
This commit is contained in:
parent
ef5e4f06e0
commit
0f1c046a14
1 changed files with 5 additions and 2 deletions
|
|
@ -64,11 +64,14 @@ if CONFIG['OS_TARGET'] == 'Darwin':
|
||||||
if CONFIG['OS_TARGET'] == 'WINNT':
|
if CONFIG['OS_TARGET'] == 'WINNT':
|
||||||
SOURCES += [
|
SOURCES += [
|
||||||
'cubeb_resampler.cpp',
|
'cubeb_resampler.cpp',
|
||||||
'cubeb_wasapi.cpp',
|
|
||||||
'cubeb_winmm.c',
|
'cubeb_winmm.c',
|
||||||
]
|
]
|
||||||
DEFINES['USE_WINMM'] = True
|
DEFINES['USE_WINMM'] = True
|
||||||
DEFINES['USE_WASAPI'] = True
|
if CONFIG['MOZ_SAMPLE_TYPE_FLOAT32']:
|
||||||
|
DEFINES['USE_WASAPI'] = True
|
||||||
|
SOURCES += [
|
||||||
|
'cubeb_wasapi.cpp',
|
||||||
|
]
|
||||||
if CONFIG['_MSC_VER']:
|
if CONFIG['_MSC_VER']:
|
||||||
CXXFLAGS += ['-wd4005'] # C4005: '_USE_MATH_DEFINES' : macro redefinition
|
CXXFLAGS += ['-wd4005'] # C4005: '_USE_MATH_DEFINES' : macro redefinition
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue