summaryrefslogtreecommitdiffstats
path: root/sound/firewire/dice/dice-pcm.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2014-11-29 00:59:14 +0900
committerTakashi Iwai <tiwai@suse.de>2014-11-29 20:07:33 +0100
commit6eb6c81eee2a6270b39ca02a446f3ccece24b6f8 (patch)
tree6efd40876f0512948be02e153c77afe3917e24a7 /sound/firewire/dice/dice-pcm.c
parent7c2d4c0cf5bacb42bc3079e61d299dfaa3dbdde5 (diff)
downloadblackbird-op-linux-6eb6c81eee2a6270b39ca02a446f3ccece24b6f8.tar.gz
blackbird-op-linux-6eb6c81eee2a6270b39ca02a446f3ccece24b6f8.zip
ALSA: dice: Split stream functionality into a file
This commit adds a file with some helper functions for streaming, and move some codes into the file with some arrangements. Well-known CMP is not used to start/stop streams for Dice chipset. It's achieved by writing to specific address. We call this way as 'enable'. When devices are 'enabled', streaming starts in registered isochronous channel. Some helper functions are already implemented in previous commit. Basically, the stream is compliant to IEC 61883-6, so-called as AMDTP. But Dice has a specific quirk, so called-as 'Dual Wire'. This quirk is applied at 176.4/192.0kHz. In this mode, each packet includes double number of events than number in the specification, and stream runs at a half of sampling rate. There is another quirk at bus reset. Dice chipset handles drivers' request but don't re-enable streaming. So stream should be stopped. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/dice/dice-pcm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud