Searched refs:PlaybackBuffer (Results 1 – 2 of 2) sorted by relevance
/external/adhd/audio_streams/src/ |
D | audio_streams.rs | 183 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/ |
D | cras_stream.rs | 11 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()
|