[−][src]Struct oboe_sys::oboe_AudioStreamBase
Base class containing parameters for audio streams and builders.
Fields
vtable_: *const oboe_AudioStreamBase__bindgen_vtablemStreamCallback: *mut oboe_AudioStreamCallbackThe callback which will be fired when new data is ready to be read/written
mFramesPerCallback: i32Number of audio frames which will be requested in each callback
mChannelCount: i32Stream channel count
mSampleRate: i32Stream sample rate
mDeviceId: i32Stream audio device ID
mBufferCapacityInFrames: i32Stream buffer capacity specified as a number of audio frames
mBufferSizeInFrames: i32Stream buffer size specified as a number of audio frames
mFramesPerBurst: i32Number of frames which will be copied to/from the audio device in a single read/write operation
mSharingMode: oboe_SharingModeStream sharing mode
mFormat: oboe_AudioFormatFormat of audio frames
mDirection: oboe_DirectionStream direction
mPerformanceMode: oboe_PerformanceModeStream performance mode
mUsage: oboe_UsageStream usage. Only active on Android 28+
mContentType: oboe_ContentTypeStream content type. Only active on Android 28+
mInputPreset: oboe_InputPresetStream input preset. Only active on Android 28+ TODO InputPreset::Unspecified should be considered as a possible default alternative.
mSessionId: oboe_SessionIdStream session ID allocation strategy. Only active on Android 28+
mChannelConversionAllowed: boolmFormatConversionAllowed: boolmSampleRateConversionQuality: oboe_SampleRateConversionQualityTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for oboe_AudioStreamBase
impl !Send for oboe_AudioStreamBase
impl !Sync for oboe_AudioStreamBase
impl Unpin for oboe_AudioStreamBase
impl UnwindSafe for oboe_AudioStreamBase
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,