Android/BluetoothServerPort: add missing "@Override" annotations
[xcsoar.git] / build / libaudio.mk
blobce9a3fdc4c4ccca651257187c695b455c53f535c
1 # Build rules for the PCM audio library
3 HAVE_PCM_PLAYER = n
5 ifeq ($(ENABLE_SDL),y)
6 HAVE_PCM_PLAYER = y
7 endif
9 ifeq ($(TARGET),ANDROID)
10 HAVE_PCM_PLAYER = y
11 endif
13 ifeq ($(HAVE_PCM_PLAYER),y)
15 AUDIO_SRC_DIR = $(SRC)/Audio
17 AUDIO_SOURCES = \
18 $(AUDIO_SRC_DIR)/ToneSynthesiser.cpp \
19 $(AUDIO_SRC_DIR)/VarioSynthesiser.cpp \
20 $(AUDIO_SRC_DIR)/PCMPlayer.cpp
22 ifeq ($(TARGET),ANDROID)
23 AUDIO_SOURCES += \
24 $(AUDIO_SRC_DIR)/SLES/Init.cpp
25 endif
27 $(eval $(call link-library,libaudio,AUDIO))
29 endif