mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
aebb2b89bf
Change ALSA driver to use Media Controller API to share media resources with DVB and V4L2 drivers on a AU0828 media device. Media Controller specific initialization is done after sound card is registered. ALSA creates Media interface and entity function graph nodes for Control, Mixer, PCM Playback, and PCM Capture devices. snd_usb_hw_params() will call Media Controller enable source handler interface to request the media resource. If resource request is granted, it will release it from snd_usb_hw_free(). If resource is busy, -EBUSY is returned. Media specific cleanup is done in usb_audio_disconnect(). Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Acked-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
31 lines
669 B
Makefile
31 lines
669 B
Makefile
#
|
|
# Makefile for ALSA
|
|
#
|
|
|
|
snd-usb-audio-objs := card.o \
|
|
clock.o \
|
|
endpoint.o \
|
|
format.o \
|
|
helper.o \
|
|
mixer.o \
|
|
mixer_quirks.o \
|
|
mixer_scarlett.o \
|
|
pcm.o \
|
|
proc.o \
|
|
quirks.o \
|
|
stream.o
|
|
|
|
snd-usb-audio-$(CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER) += media.o
|
|
|
|
snd-usbmidi-lib-objs := midi.o
|
|
|
|
# Toplevel Module Dependency
|
|
obj-$(CONFIG_SND_USB_AUDIO) += snd-usb-audio.o snd-usbmidi-lib.o
|
|
|
|
obj-$(CONFIG_SND_USB_UA101) += snd-usbmidi-lib.o
|
|
obj-$(CONFIG_SND_USB_USX2Y) += snd-usbmidi-lib.o
|
|
obj-$(CONFIG_SND_USB_US122L) += snd-usbmidi-lib.o
|
|
|
|
obj-$(CONFIG_SND) += misc/ usx2y/ caiaq/ 6fire/ hiface/ bcd2000/
|
|
obj-$(CONFIG_SND_USB_LINE6) += line6/
|