Struct oboe_sys::oboe_AudioStream
source · #[repr(C, align(8))]pub struct oboe_AudioStream {
pub _bindgen_opaque_blob: [u64; 38],
}
Expand description
Base class for Oboe C++ audio stream.
Fields§
§_bindgen_opaque_blob: [u64; 38]
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
Auto Trait Implementations§
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