#[repr(C, align(8))]pub struct oboe_AudioStream {
pub _bindgen_opaque_blob: [u64; 25],
}
Expand description
Base class for Oboe C++ audio stream.
Fields§
§_bindgen_opaque_blob: [u64; 25]
Implementations§
Source§impl oboe_AudioStream
impl oboe_AudioStream
pub unsafe fn getBytesPerSample(&self) -> i32
pub unsafe fn getAvailableFrames(&mut self) -> oboe_ResultWithValue<i32>
pub unsafe fn waitForAvailableFrames( &mut self, numFrames: i32, timeoutNanoseconds: i64, ) -> oboe_ResultWithValue<i32>
pub unsafe fn fireDataCallback( &mut self, audioData: *mut c_void, numFrames: c_int, ) -> oboe_DataCallbackResult
pub unsafe fn calculateDefaultDelayBeforeCloseMillis(&mut self)
pub unsafe fn new(builder: *const oboe_AudioStreamBuilder) -> Self
Trait Implementations§
Source§impl Clone for oboe_AudioStream
impl Clone for oboe_AudioStream
Source§fn clone(&self) -> oboe_AudioStream
fn clone(&self) -> oboe_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 moreSource§impl Debug for oboe_AudioStream
impl Debug for oboe_AudioStream
impl Copy for oboe_AudioStream
Auto Trait Implementations§
impl Freeze for oboe_AudioStream
impl RefUnwindSafe for oboe_AudioStream
impl Send for oboe_AudioStream
impl Sync for oboe_AudioStream
impl Unpin for oboe_AudioStream
impl UnwindSafe for oboe_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