Home
last modified time | relevance | path

Searched refs:PlaybackBuffer (Results 1 – 2 of 2) sorted by relevance

/external/adhd/audio_streams/src/
Daudio_streams.rs183 fn next_playback_buffer(&mut self) -> Result<PlaybackBuffer, BoxError>; in next_playback_buffer() argument
229 pub struct PlaybackBuffer<'a> { struct
233 impl<'a> PlaybackBuffer<'a> { implementation
248 Ok(PlaybackBuffer { in new()
275 impl<'a> Write for PlaybackBuffer<'a> { implementation
289 impl<'a> Drop for PlaybackBuffer<'a> { implementation
342 fn next_playback_buffer(&mut self) -> Result<PlaybackBuffer, BoxError> { in next_playback_buffer() argument
353 Ok(PlaybackBuffer::new( in next_playback_buffer()
415 assert!(PlaybackBuffer::new(2, &mut pb_buf, &mut buffer_drop).is_err()); in invalid_buffer_length()
432 let mut pb_buf = PlaybackBuffer::new(FRAME_SIZE, &mut buf, &mut test_drop).unwrap(); in trigger()
/external/adhd/cras/client/libcras/src/
Dcras_stream.rs11 BoxError, BufferDrop, PlaybackBuffer, PlaybackBufferStream,
199 fn next_playback_buffer(&mut self) -> Result<PlaybackBuffer, BoxError> { in next_playback_buffer() argument
207 PlaybackBuffer::new(frame_size, buf, &mut self.controls).map_err(Box::from) in next_playback_buffer()