[−][src]Trait oboe::AudioInputStreamSync
The stream which can be used for audio input in synchronous mode
Associated Types
type FrameType: IsFrameType
Required methods
fn read(
&mut self,
_buffer: &mut [<Self::FrameType as IsFrameType>::Type],
_timeout_nanoseconds: i64
) -> Result<i32>
&mut self,
_buffer: &mut [<Self::FrameType as IsFrameType>::Type],
_timeout_nanoseconds: i64
) -> Result<i32>
Read data into the supplied buffer from the stream. This method will block until the read is complete or it runs out of time.
If timeout_nanoseconds
is zero then this call will not wait.