Enum nannou_audio::BufferSize [−][src]
pub enum BufferSize {
Default,
Fixed(u32),
}
Expand description
The buffer size used by the device.
Default is used when no specific buffer size is set and uses the default behavior of the given host. Note, the default buffer size may be surprisingly large, leading to latency issues. If low latency is desired, Fixed(BufferSize) should be used in accordance with the SupportedBufferSize range produced by the SupportedStreamConfig API.
Variants
Fixed(u32)
Tuple Fields of Fixed
0: u32
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BufferSize
impl Send for BufferSize
impl Sync for BufferSize
impl Unpin for BufferSize
impl UnwindSafe for BufferSize
Blanket Implementations
Mutably borrows from an owned value. Read more