Lines Matching refs:substream

23 int snd_pcm_hw_constraints_init(struct snd_pcm_substream *substream);
24 int snd_pcm_hw_constraints_complete(struct snd_pcm_substream *substream);
29 int pcm_lib_apply_appl_ptr(struct snd_pcm_substream *substream,
31 int snd_pcm_update_state(struct snd_pcm_substream *substream,
33 int snd_pcm_update_hw_ptr(struct snd_pcm_substream *substream);
35 void snd_pcm_playback_silence(struct snd_pcm_substream *substream,
39 snd_pcm_avail(struct snd_pcm_substream *substream) in snd_pcm_avail() argument
41 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_avail()
42 return snd_pcm_playback_avail(substream->runtime); in snd_pcm_avail()
44 return snd_pcm_capture_avail(substream->runtime); in snd_pcm_avail()
48 snd_pcm_hw_avail(struct snd_pcm_substream *substream) in snd_pcm_hw_avail() argument
50 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_hw_avail()
51 return snd_pcm_playback_hw_avail(substream->runtime); in snd_pcm_hw_avail()
53 return snd_pcm_capture_hw_avail(substream->runtime); in snd_pcm_hw_avail()
57 void snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream);
58 void snd_pcm_timer_init(struct snd_pcm_substream *substream);
59 void snd_pcm_timer_done(struct snd_pcm_substream *substream);
62 snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream) {} in snd_pcm_timer_resolution_change() argument
63 static inline void snd_pcm_timer_init(struct snd_pcm_substream *substream) {} in snd_pcm_timer_init() argument
64 static inline void snd_pcm_timer_done(struct snd_pcm_substream *substream) {} in snd_pcm_timer_done() argument
67 void __snd_pcm_xrun(struct snd_pcm_substream *substream);