зеркало из https://github.com/mozilla/gecko-dev.git
Bug 811544 - Build fixed-point opus on arm. r=ted
Enable MOZ_OPUS_FIXED inside the opus makefile if MOZ_SAMPLE_TYPE_FLOAT32 is not defined. This is the general proxy for floating point audio support in other areas of the code. We could have defined MOZ_OPUS_FIXED directly in the configure script (and still could) but I liked this better.
This commit is contained in:
Родитель
4ba5767dcc
Коммит
0f2ab88ce4
|
@ -68,6 +68,10 @@ CSRCS = \
|
||||||
$(notdir $(OPUS_SOURCES)) \
|
$(notdir $(OPUS_SOURCES)) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
ifndef MOZ_SAMPLE_TYPE_FLOAT32
|
||||||
|
MOZ_OPUS_FIXED = 1
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef MOZ_OPUS_FIXED
|
ifdef MOZ_OPUS_FIXED
|
||||||
DEFINES += -DFIXED_POINT=1 -DDISABLE_FLOAT_API
|
DEFINES += -DFIXED_POINT=1 -DDISABLE_FLOAT_API
|
||||||
LOCAL_INCLUDES += -I$(srcdir)/silk/fixed
|
LOCAL_INCLUDES += -I$(srcdir)/silk/fixed
|
||||||
|
|
Загрузка…
Ссылка в новой задаче