#[repr(C)]pub struct AudioStream {
pub buffer: *mut rAudioBuffer,
pub processor: *mut rAudioProcessor,
pub sampleRate: c_uint,
pub sampleSize: c_uint,
pub channels: c_uint,
}
Expand description
AudioStream, custom audio stream
Fields§
§buffer: *mut rAudioBuffer
Pointer to internal data used by the audio system
processor: *mut rAudioProcessor
Pointer to internal data processor, useful for audio effects
sampleRate: c_uint
Frequency (samples per second)
sampleSize: c_uint
Bit depth (bits per sample): 8, 16, 32 (24 not supported)
channels: c_uint
Number of channels (1-mono, 2-stereo, …)
Trait Implementations§
Source§impl Clone for AudioStream
impl Clone for AudioStream
Source§fn clone(&self) -> AudioStream
fn clone(&self) -> AudioStream
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AudioStream
impl RefUnwindSafe for AudioStream
impl !Send for AudioStream
impl !Sync for AudioStream
impl Unpin for AudioStream
impl UnwindSafe for AudioStream
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more