[][src]Struct oboe_sys::oboe_AudioStream

#[repr(C)]
#[repr(align(8))]pub struct oboe_AudioStream {
    pub _bindgen_opaque_blob: [u64; 23],
}

Base class for Oboe C++ audio stream.

Fields

_bindgen_opaque_blob: [u64; 23]

Implementations

impl oboe_AudioStream[src]

pub unsafe fn getBytesPerSample(&self) -> i32[src]

pub unsafe fn launchStopThread(&mut self)[src]

pub unsafe fn getAvailableFrames(&mut self) -> oboe_ResultWithValue<i32>[src]

pub unsafe fn waitForAvailableFrames(
    &mut self,
    numFrames: i32,
    timeoutNanoseconds: i64
) -> oboe_ResultWithValue<i32>
[src]

pub unsafe fn fireDataCallback(
    &mut self,
    audioData: *mut c_void,
    numFrames: c_int
) -> oboe_DataCallbackResult
[src]

pub unsafe fn new(builder: *const oboe_AudioStreamBuilder) -> Self[src]

Trait Implementations

impl Clone for oboe_AudioStream[src]

impl Copy for oboe_AudioStream[src]

impl Debug for oboe_AudioStream[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.