#[repr(transparent)]pub struct OH_AudioStream_SampleFormat(pub c_uint);Expand description
Define the audio stream sample format.
Available since API-level: 10
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_AudioStream_SampleFormat
impl OH_AudioStream_SampleFormat
Sourcepub const AUDIOSTREAM_SAMPLE_U8: OH_AudioStream_SampleFormat
pub const AUDIOSTREAM_SAMPLE_U8: OH_AudioStream_SampleFormat
Unsigned 8 format.
Available since API-level: 10
Sourcepub const AUDIOSTREAM_SAMPLE_S16LE: OH_AudioStream_SampleFormat
pub const AUDIOSTREAM_SAMPLE_S16LE: OH_AudioStream_SampleFormat
Signed 16 bit integer, little endian.
Available since API-level: 10
Sourcepub const AUDIOSTREAM_SAMPLE_S24LE: OH_AudioStream_SampleFormat
pub const AUDIOSTREAM_SAMPLE_S24LE: OH_AudioStream_SampleFormat
Signed 24 bit integer, little endian.
Available since API-level: 10
Sourcepub const AUDIOSTREAM_SAMPLE_S32LE: OH_AudioStream_SampleFormat
pub const AUDIOSTREAM_SAMPLE_S32LE: OH_AudioStream_SampleFormat
Signed 32 bit integer, little endian.
Available since API-level: 10
Sourcepub const AUDIOSTREAM_SAMPLE_F32LE: OH_AudioStream_SampleFormat
Available on crate feature api-17 only.
pub const AUDIOSTREAM_SAMPLE_F32LE: OH_AudioStream_SampleFormat
api-17 only.Float 32, little endian.
Available since API-level: 17
Trait Implementations§
Source§impl Clone for OH_AudioStream_SampleFormat
impl Clone for OH_AudioStream_SampleFormat
Source§fn clone(&self) -> OH_AudioStream_SampleFormat
fn clone(&self) -> OH_AudioStream_SampleFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OH_AudioStream_SampleFormat
impl Debug for OH_AudioStream_SampleFormat
Source§impl Hash for OH_AudioStream_SampleFormat
impl Hash for OH_AudioStream_SampleFormat
Source§impl PartialEq for OH_AudioStream_SampleFormat
impl PartialEq for OH_AudioStream_SampleFormat
Source§fn eq(&self, other: &OH_AudioStream_SampleFormat) -> bool
fn eq(&self, other: &OH_AudioStream_SampleFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_AudioStream_SampleFormat
impl Eq for OH_AudioStream_SampleFormat
impl StructuralPartialEq for OH_AudioStream_SampleFormat
Auto Trait Implementations§
impl Freeze for OH_AudioStream_SampleFormat
impl RefUnwindSafe for OH_AudioStream_SampleFormat
impl Send for OH_AudioStream_SampleFormat
impl Sync for OH_AudioStream_SampleFormat
impl Unpin for OH_AudioStream_SampleFormat
impl UnsafeUnpin for OH_AudioStream_SampleFormat
impl UnwindSafe for OH_AudioStream_SampleFormat
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