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
type Output = AkCallbackType
type Output = AkCallbackType
& operator.sourceimpl BitAndAssign<AkCallbackType> for AkCallbackType
impl BitAndAssign<AkCallbackType> for AkCallbackType
sourcefn bitand_assign(&mut self, rhs: AkCallbackType)
fn bitand_assign(&mut self, rhs: AkCallbackType)
&= operation. Read moresourceimpl BitOr<AkCallbackType> for AkCallbackType
impl BitOr<AkCallbackType> for AkCallbackType
type Output = AkCallbackType
type Output = AkCallbackType
| operator.sourceimpl BitOrAssign<AkCallbackType> for AkCallbackType
impl BitOrAssign<AkCallbackType> for AkCallbackType
sourcefn bitor_assign(&mut self, rhs: AkCallbackType)
fn bitor_assign(&mut self, rhs: AkCallbackType)
|= operation. Read moresourceimpl Clone for AkCallbackType
impl Clone for AkCallbackType
sourcefn clone(&self) -> AkCallbackType
fn clone(&self) -> AkCallbackType
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more