linux/sound
Takashi Sakamoto 5b59d8098d ALSA: oxfw: Add support for AV/C stream format command to get/set supported stream formation
OXFW970/971 may supports AV/C Stream Format Information Specification 1.1
Working Draft (Apr 2005, 1394TA). By using this command, drivers can get to know
stream formations which device supports.

This commit adds 'EXTENDED STREAM FORMAT INFORMATION' command. This command
has two subfunctions, 'SINGLE' and 'LIST'. Drivers can use 'SINGLE' subfunction
to know/set current formation of AMDTP stream, Drivers can use 'LIST'
subfunction to know an available formation of AMDTP stream in a certain sampling
rate.

But some devices don't implement the 'LIST' subfunction. So this commit uses
an assumption that 'if they don't implement it, they don't change stream
formation depending on current each sampling rate'. With this assumption, this
driver generates formations for such devices by:
 1.getting current formation by SINGLE subfunction
 2.getting supported sampling rates
 3.applying current formation for all of supported sampling rates

Followed commit implements a parser of this format information.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-12-10 10:47:09 +01:00
..
aoa ALSA: i2sbus: Deletion of unnecessary checks before the function call "release_and_free_resource" 2014-12-03 07:59:04 +01:00
arm ALSA: pcm: Add snd_pcm_stop_xrun() helper 2014-11-09 18:20:40 +01:00
atmel ALSA: atmel_abdac: Add missing clock prepare 2014-12-05 20:36:13 +01:00
core Merge branch 'for-linus' into for-next 2014-11-28 18:30:19 +01:00
drivers ALSA: virmidi: Fix wrong error check 2014-11-30 20:17:56 +01:00
firewire ALSA: oxfw: Add support for AV/C stream format command to get/set supported stream formation 2014-12-10 10:47:09 +01:00
i2c ALSA: ak4xxx-adda: Use snd_ctl_enum_info() 2014-10-21 08:29:54 +02:00
isa ALSA: sb: Deletion of unnecessary checks before two function calls 2014-11-21 20:07:36 +01:00
mips ALSA: mips: Use snd_ctl_enum_info() 2014-10-21 08:36:44 +02:00
oss sound: oss: uart401: remove unneeded NULL check 2014-11-22 21:48:33 +01:00
parisc ALSA: parisc: Use snd_ctl_enum_info() 2014-10-21 08:37:36 +02:00
pci Merge branch 'for-next' into for-linus 2014-12-08 11:33:24 +01:00
pcmcia ALSA: vx: Fix missing kerneldoc parameter descriptions 2014-11-11 09:39:10 +01:00
ppc ALSA: powermac: Deletion of an unnecessary check before the function call "pci_dev_put" 2014-11-17 13:52:45 +01:00
sh
soc ASoC: Updates for v3.19 2014-12-08 15:04:02 +01:00
sparc ALSA: sparc: Use snd_ctl_enum_info() 2014-10-21 09:14:28 +02:00
spi
synth
usb Merge branch 'for-next' into for-linus 2014-12-08 11:33:24 +01:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c