Lines Matching refs:stream

237 audio_stream_get_avail_bytes(const struct audio_stream *stream)  in audio_stream_get_avail_bytes()  argument
245 if (stream->underrun_permitted) in audio_stream_get_avail_bytes()
246 return stream->avail != 0 ? stream->avail : stream->size; in audio_stream_get_avail_bytes()
248 return stream->avail; in audio_stream_get_avail_bytes()
257 audio_stream_get_avail_samples(const struct audio_stream *stream) in audio_stream_get_avail_samples() argument
259 return audio_stream_get_avail_bytes(stream) / in audio_stream_get_avail_samples()
260 audio_stream_sample_bytes(stream); in audio_stream_get_avail_samples()
269 audio_stream_get_avail_frames(const struct audio_stream *stream) in audio_stream_get_avail_frames() argument
271 return audio_stream_get_avail_bytes(stream) / in audio_stream_get_avail_frames()
272 audio_stream_frame_bytes(stream); in audio_stream_get_avail_frames()
281 audio_stream_get_free_bytes(const struct audio_stream *stream) in audio_stream_get_free_bytes() argument
289 if (stream->overrun_permitted) in audio_stream_get_free_bytes()
290 return stream->free != 0 ? stream->free : stream->size; in audio_stream_get_free_bytes()
292 return stream->free; in audio_stream_get_free_bytes()
301 audio_stream_get_free_samples(const struct audio_stream *stream) in audio_stream_get_free_samples() argument
303 return audio_stream_get_free_bytes(stream) / in audio_stream_get_free_samples()
304 audio_stream_sample_bytes(stream); in audio_stream_get_free_samples()
313 audio_stream_get_free_frames(const struct audio_stream *stream) in audio_stream_get_free_frames() argument
315 return audio_stream_get_free_bytes(stream) / in audio_stream_get_free_frames()
316 audio_stream_frame_bytes(stream); in audio_stream_get_free_frames()