diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-10-18 15:19:07 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-10-19 09:18:20 +0200 |
commit | f890f9a04b361b2209c38e3317e6290a98e6ff6e (patch) | |
tree | 6a4c93fee5f562929cadeb8cfbc93febc936a1af /sound/firewire/amdtp-stream.h | |
parent | 03b4816dcb6ee348edf248f7ba9f04f1e90c2fc7 (diff) | |
download | linux-f890f9a04b361b2209c38e3317e6290a98e6ff6e.tar.gz linux-f890f9a04b361b2209c38e3317e6290a98e6ff6e.tar.bz2 linux-f890f9a04b361b2209c38e3317e6290a98e6ff6e.zip |
ALSA: firewire-lib: replace pointer callback to flush isoc contexts in AMDTP domain
An isoc context for AMDTP stream is flushed to queue packet
by a call of pcm.pointer. This commit extends this for AMDTP
domain.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20191018061911.24909-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/amdtp-stream.h')
-rw-r--r-- | sound/firewire/amdtp-stream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/firewire/amdtp-stream.h b/sound/firewire/amdtp-stream.h index f92397a2f35f..ba0bbeddfdcb 100644 --- a/sound/firewire/amdtp-stream.h +++ b/sound/firewire/amdtp-stream.h @@ -198,7 +198,6 @@ int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, struct snd_pcm_runtime *runtime); void amdtp_stream_pcm_prepare(struct amdtp_stream *s); -unsigned long amdtp_stream_pcm_pointer(struct amdtp_stream *s); int amdtp_stream_pcm_ack(struct amdtp_stream *s); void amdtp_stream_pcm_abort(struct amdtp_stream *s); @@ -302,4 +301,6 @@ static inline int amdtp_domain_set_events_per_period(struct amdtp_domain *d, return 0; } +unsigned long amdtp_domain_stream_pcm_pointer(struct amdtp_domain *d, + struct amdtp_stream *s); #endif |