#[repr(transparent)]pub struct OH_AudioStream_DirectPlaybackMode(pub c_uint);Available on crate feature
api-19 only.Expand description
Enumerates audio direct playback modes.
Available since API-level: 19
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_AudioStream_DirectPlaybackMode
impl OH_AudioStream_DirectPlaybackMode
Sourcepub const AUDIOSTREAM_DIRECT_PLAYBACK_NOT_SUPPORTED: OH_AudioStream_DirectPlaybackMode
pub const AUDIOSTREAM_DIRECT_PLAYBACK_NOT_SUPPORTED: OH_AudioStream_DirectPlaybackMode
Direct playback is not supported.
Available since API-level: 19
Sourcepub const AUDIOSTREAM_DIRECT_PLAYBACK_BITSTREAM_SUPPORTED: OH_AudioStream_DirectPlaybackMode
pub const AUDIOSTREAM_DIRECT_PLAYBACK_BITSTREAM_SUPPORTED: OH_AudioStream_DirectPlaybackMode
Direct playback mode which is bitstream pass-through such as compressed pass-through.
Available since API-level: 19
Sourcepub const AUDIOSTREAM_DIRECT_PLAYBACK_PCM_SUPPORTED: OH_AudioStream_DirectPlaybackMode
pub const AUDIOSTREAM_DIRECT_PLAYBACK_PCM_SUPPORTED: OH_AudioStream_DirectPlaybackMode
Direct playback mode of pcm.
Available since API-level: 19
Trait Implementations§
Source§impl Clone for OH_AudioStream_DirectPlaybackMode
impl Clone for OH_AudioStream_DirectPlaybackMode
Source§fn clone(&self) -> OH_AudioStream_DirectPlaybackMode
fn clone(&self) -> OH_AudioStream_DirectPlaybackMode
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 PartialEq for OH_AudioStream_DirectPlaybackMode
impl PartialEq for OH_AudioStream_DirectPlaybackMode
Source§fn eq(&self, other: &OH_AudioStream_DirectPlaybackMode) -> bool
fn eq(&self, other: &OH_AudioStream_DirectPlaybackMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_AudioStream_DirectPlaybackMode
impl Eq for OH_AudioStream_DirectPlaybackMode
impl StructuralPartialEq for OH_AudioStream_DirectPlaybackMode
Auto Trait Implementations§
impl Freeze for OH_AudioStream_DirectPlaybackMode
impl RefUnwindSafe for OH_AudioStream_DirectPlaybackMode
impl Send for OH_AudioStream_DirectPlaybackMode
impl Sync for OH_AudioStream_DirectPlaybackMode
impl Unpin for OH_AudioStream_DirectPlaybackMode
impl UnsafeUnpin for OH_AudioStream_DirectPlaybackMode
impl UnwindSafe for OH_AudioStream_DirectPlaybackMode
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