Struct rrise::AkCallbackType
source · [−]#[repr(transparent)]pub struct AkCallbackType(pub c_int);Expand description
Type of callback. Used as a bitfield in methods AK::SoundEngine::PostEvent() and AK::SoundEngine::DynamicSequence::Open().
Tuple Fields
0: c_intImplementations
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_EndOfEvent: AkCallbackType
pub const AK_EndOfEvent: AkCallbackType
Callback triggered when reaching the end of an event. AkCallbackInfo can be cast to AkEventCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_EndOfDynamicSequenceItem: AkCallbackType
pub const AK_EndOfDynamicSequenceItem: AkCallbackType
Callback triggered when reaching the end of a dynamic sequence item. AkCallbackInfo can be cast to AkDynamicSequenceItemCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_Marker: AkCallbackType
pub const AK_Marker: AkCallbackType
Callback triggered when encountering a marker during playback. AkCallbackInfo can be cast to AkMarkerCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_Duration: AkCallbackType
pub const AK_Duration: AkCallbackType
Callback triggered when the duration of the sound is known by the sound engine. AkCallbackInfo can be cast to AkDurationCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_SpeakerVolumeMatrix: AkCallbackType
pub const AK_SpeakerVolumeMatrix: AkCallbackType
Callback triggered at each frame, letting the client modify the speaker volume matrix. AkCallbackInfo can be cast to AkSpeakerVolumeMatrixCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_Starvation: AkCallbackType
pub const AK_Starvation: AkCallbackType
Callback triggered when playback skips a frame due to stream starvation. AkCallbackInfo can be cast to AkEventCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_MusicPlaylistSelect: AkCallbackType
pub const AK_MusicPlaylistSelect: AkCallbackType
Callback triggered when music playlist container must select the next item to play. AkCallbackInfo can be cast to AkMusicPlaylistCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_MusicPlayStarted: AkCallbackType
pub const AK_MusicPlayStarted: AkCallbackType
Callback triggered when a “Play” or “Seek” command has been executed (“Seek” commands are issued from AK::SoundEngine::SeekOnEvent()). Applies to objects of the Interactive-Music Hierarchy only. AkCallbackInfo can be cast to AkEventCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_MusicSyncBeat: AkCallbackType
pub const AK_MusicSyncBeat: AkCallbackType
Enable notifications on Music Beat. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_MusicSyncBar: AkCallbackType
pub const AK_MusicSyncBar: AkCallbackType
Enable notifications on Music Bar. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_MusicSyncEntry: AkCallbackType
pub const AK_MusicSyncEntry: AkCallbackType
Enable notifications on Music Entry Cue. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_MusicSyncExit: AkCallbackType
pub const AK_MusicSyncExit: AkCallbackType
Enable notifications on Music Exit Cue. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_MusicSyncGrid: AkCallbackType
pub const AK_MusicSyncGrid: AkCallbackType
Enable notifications on Music Grid. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_MusicSyncUserCue: AkCallbackType
pub const AK_MusicSyncUserCue: AkCallbackType
Enable notifications on Music Custom Cue. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_MusicSyncPoint: AkCallbackType
pub const AK_MusicSyncPoint: AkCallbackType
Enable notifications on Music switch transition synchronization point. AkCallbackInfo can be cast to AkMusicSyncCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_MusicSyncAll: AkCallbackType
pub const AK_MusicSyncAll: AkCallbackType
Use this flag if you want to receive all notifications concerning AK_MusicSync registration.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_MIDIEvent: AkCallbackType
pub const AK_MIDIEvent: AkCallbackType
Enable notifications for MIDI events. AkCallbackInfo can be cast to AkMIDIEventCallbackInfo.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_CallbackBits: AkCallbackType
pub const AK_CallbackBits: AkCallbackType
Bitmask for all callback types.
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_EnableGetSourcePlayPosition: AkCallbackType
pub const AK_EnableGetSourcePlayPosition: AkCallbackType
Enable play position information for use by AK::SoundEngine::GetSourcePlayPosition().
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_EnableGetMusicPlayPosition: AkCallbackType
pub const AK_EnableGetMusicPlayPosition: AkCallbackType
Enable play position information of music objects, queried via AK::MusicEngine::GetPlayingSegmentInfo().
sourceimpl AkCallbackType
impl AkCallbackType
sourcepub const AK_EnableGetSourceStreamBuffering: AkCallbackType
pub const AK_EnableGetSourceStreamBuffering: AkCallbackType
Enable stream buffering information for use by AK::SoundEngine::GetSourceStreamBuffering().
sourceimpl AkCallbackType
impl AkCallbackType
Trait Implementations
sourceimpl BitAnd<AkCallbackType> for AkCallbackType
impl BitAnd<AkCallbackType> for AkCallbackType
sourceimpl BitAndAssign<AkCallbackType> for AkCallbackType
impl BitAndAssign<AkCallbackType> for AkCallbackType
sourcefn bitand_assign(&mut self, rhs: AkCallbackType)
fn bitand_assign(&mut self, rhs: AkCallbackType)
Performs the &= operation. Read more
sourceimpl BitOr<AkCallbackType> for AkCallbackType
impl BitOr<AkCallbackType> for AkCallbackType
sourceimpl BitOrAssign<AkCallbackType> for AkCallbackType
impl BitOrAssign<AkCallbackType> for AkCallbackType
sourcefn bitor_assign(&mut self, rhs: AkCallbackType)
fn bitor_assign(&mut self, rhs: AkCallbackType)
Performs the |= operation. Read more
sourceimpl Clone for AkCallbackType
impl Clone for AkCallbackType
sourcefn clone(&self) -> AkCallbackType
fn clone(&self) -> AkCallbackType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AkCallbackType
impl Debug for AkCallbackType
sourceimpl Display for AkCallbackType
impl Display for AkCallbackType
sourceimpl Hash for AkCallbackType
impl Hash for AkCallbackType
sourceimpl PartialEq<AkCallbackType> for AkCallbackType
impl PartialEq<AkCallbackType> for AkCallbackType
sourcefn eq(&self, other: &AkCallbackType) -> bool
fn eq(&self, other: &AkCallbackType) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AkCallbackType) -> bool
fn ne(&self, other: &AkCallbackType) -> bool
This method tests for !=.
impl Copy for AkCallbackType
impl Eq for AkCallbackType
impl StructuralEq for AkCallbackType
impl StructuralPartialEq for AkCallbackType
Auto Trait Implementations
impl RefUnwindSafe for AkCallbackType
impl Send for AkCallbackType
impl Sync for AkCallbackType
impl Unpin for AkCallbackType
impl UnwindSafe for AkCallbackType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more