diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-10-07 20:05:24 +0900 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2019-10-17 12:02:43 +0200 |
| commit | 9d9ff58c2f45f2bf926f7ee7c70bcc01bad4c0e8 (patch) | |
| tree | 9f2204d46698c66739600fdfe31acf2d66a2129e /sound/firewire/fireface/ff.h | |
| parent | 0d39cd0e449925a6221da48835ef962cd72f330f (diff) | |
| download | lwn-9d9ff58c2f45f2bf926f7ee7c70bcc01bad4c0e8.tar.gz lwn-9d9ff58c2f45f2bf926f7ee7c70bcc01bad4c0e8.zip | |
ALSA: fireface: register the size of PCM period to AMDTP domain
This commit is a preparation to share the size of PCM period between
PCM substreams on AMDTP streams in the same domain. At this time,
the size of PCM period in PCM substream which starts AMDTP streams in the
same domain is recorded.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20191007110532.30270-10-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/fireface/ff.h')
| -rw-r--r-- | sound/firewire/fireface/ff.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/firewire/fireface/ff.h b/sound/firewire/fireface/ff.h index b4c22ca6079e..970d4ae571ee 100644 --- a/sound/firewire/fireface/ff.h +++ b/sound/firewire/fireface/ff.h @@ -139,7 +139,8 @@ int snd_ff_stream_get_multiplier_mode(enum cip_sfc sfc, enum snd_ff_stream_mode *mode); int snd_ff_stream_init_duplex(struct snd_ff *ff); void snd_ff_stream_destroy_duplex(struct snd_ff *ff); -int snd_ff_stream_reserve_duplex(struct snd_ff *ff, unsigned int rate); +int snd_ff_stream_reserve_duplex(struct snd_ff *ff, unsigned int rate, + unsigned int frames_per_period); int snd_ff_stream_start_duplex(struct snd_ff *ff, unsigned int rate); void snd_ff_stream_stop_duplex(struct snd_ff *ff); void snd_ff_stream_update_duplex(struct snd_ff *ff); |
