2019-03-09 06:34:15 +08:00
|
|
|
common-obj-y = audio.o audio_legacy.o noaudio.o wavaudio.o mixeng.o
|
2012-05-22 19:49:02 +08:00
|
|
|
common-obj-$(CONFIG_SPICE) += spiceaudio.o
|
2018-03-01 18:05:46 +08:00
|
|
|
common-obj-$(CONFIG_AUDIO_COREAUDIO) += coreaudio.o
|
|
|
|
common-obj-$(CONFIG_AUDIO_DSOUND) += dsoundaudio.o
|
2012-05-22 19:49:02 +08:00
|
|
|
common-obj-$(CONFIG_AUDIO_PT_INT) += audio_pt_int.o
|
|
|
|
common-obj-$(CONFIG_AUDIO_WIN_INT) += audio_win_int.o
|
|
|
|
common-obj-y += wavcapture.o
|
2012-09-17 14:35:53 +08:00
|
|
|
|
2017-09-07 16:29:13 +08:00
|
|
|
coreaudio.o-libs := $(COREAUDIO_LIBS)
|
|
|
|
dsoundaudio.o-libs := $(DSOUND_LIBS)
|
2018-03-06 15:40:50 +08:00
|
|
|
|
|
|
|
# alsa module
|
|
|
|
common-obj-$(CONFIG_AUDIO_ALSA) += alsa.mo
|
|
|
|
alsa.mo-objs = alsaaudio.o
|
|
|
|
alsa.mo-libs := $(ALSA_LIBS)
|
2018-03-06 15:40:51 +08:00
|
|
|
|
|
|
|
# oss module
|
|
|
|
common-obj-$(CONFIG_AUDIO_OSS) += oss.mo
|
|
|
|
oss.mo-objs = ossaudio.o
|
|
|
|
oss.mo-libs := $(OSS_LIBS)
|
2018-03-06 15:40:52 +08:00
|
|
|
|
|
|
|
# pulseaudio module
|
|
|
|
common-obj-$(CONFIG_AUDIO_PA) += pa.mo
|
|
|
|
pa.mo-objs = paaudio.o
|
|
|
|
pa.mo-libs := $(PULSE_LIBS)
|
2018-03-06 15:40:53 +08:00
|
|
|
|
|
|
|
# sdl module
|
|
|
|
common-obj-$(CONFIG_AUDIO_SDL) += sdl.mo
|
|
|
|
sdl.mo-objs = sdlaudio.o
|
|
|
|
sdl.mo-cflags := $(SDL_CFLAGS)
|
|
|
|
sdl.mo-libs := $(SDL_LIBS)
|