linux_dsm_epyc7002/sound/firewire/motu
Takashi Sakamoto dd49b2d1f0 ALSA: firewire-motu: add PCM functionality
This commit adds PCM functionality to transmit/receive PCM samples.

When one of PCM substreams are running or external clock source is
selected, current sampling rate is used. Else, the sampling rate is
changed according to requests from a userspace application.

Available number of samples in a frame of PCM substream is determined at
open(2) to corresponding PCM character device. Later, packet streaming
starts by ioctl(2) with SNDRV_PCM_IOCTL_PREPARE. In theory, between them,
applications can change state of the unit by any write transaction to
change the number. In this case, this driver may fail packet streaming due
to wrong data format.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-03-28 12:33:53 +02:00
..
amdtp-motu.c ALSA: firewire-motu: add MOTU specific protocol layer 2017-03-28 12:33:30 +02:00
Makefile ALSA: firewire-motu: add PCM functionality 2017-03-28 12:33:53 +02:00
motu-pcm.c ALSA: firewire-motu: add PCM functionality 2017-03-28 12:33:53 +02:00
motu-proc.c ALSA: firewire-motu: add proc node to show current statuc of clock and packet formats 2017-03-28 12:33:51 +02:00
motu-stream.c ALSA: firewire-motu: add stream management functionality 2017-03-28 12:33:34 +02:00
motu-transaction.c ALSA: firewire-motu: handle transactions specific for MOTU FireWire models 2017-03-28 12:33:32 +02:00
motu.c ALSA: firewire-motu: add PCM functionality 2017-03-28 12:33:53 +02:00
motu.h ALSA: firewire-motu: add PCM functionality 2017-03-28 12:33:53 +02:00