Struct openal::Buffer
[−]
[src]
pub struct Buffer<'a> { /* fields omitted */ }
A buffer holding sample data.
Methods
impl<'a> Buffer<'a>
[src]
fn rate(&self) -> u32
The sample rate of the data in the buffer.
fn bits(&self) -> u16
The bit depth of the data in the buffer.
fn channels(&self) -> u16
The number of channels of the data in the buffer.
fn len(&self) -> usize
The number of samples in the buffer.
Trait Implementations
impl<'a> PartialEq for Buffer<'a>
[src]
fn eq(&self, __arg_0: &Buffer<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Buffer<'a>) -> bool
This method tests for !=
.