aboutsummaryrefslogtreecommitdiffstats
path: root/sound/firewire/fireworks
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-02-08 22:54:15 +0900
committerTakashi Iwai <tiwai@suse.de>2016-02-09 12:22:08 +0100
commit0d5ee195b1091e6ebcc121c091ce8646e95a48b6 (patch)
treeb4b546a9bf926b86aeb1443ebbade5e9ecddfd29 /sound/firewire/fireworks
parentALSA: Remove deprecated AU1X00 AC97 driver (diff)
downloadlinux-dev-0d5ee195b1091e6ebcc121c091ce8646e95a48b6.tar.xz
linux-dev-0d5ee195b1091e6ebcc121c091ce8646e95a48b6.zip
ALSA: dice: limit to current sampling transfer frequency
ALSA PCM core has a functionality for rule of PCM substream parameters. Typically, when userspace opens PCM character devices, each driver adds its own rules to PCM substream according to design of hardware. When the userspace executes hw_params ioctl with favorite parameters, the actual parameters are calculated according to the rules and the given parameters. Then, the result is returned to userspace. Currently, ALSA Dice driver has the rule between channels and rates, while Dice interface design doesn't allow drivers to retrieve all of the combinations. Dice drivers are just allowed to get current sampling transfer frequency and the number of multi bit linear audio data channels in an data block of an AMDTP packet. This commit purges the rule, and limit PCM substreams to current sampling transfer frequency, following to the interface design. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/fireworks')
0 files changed, 0 insertions, 0 deletions