MixAudioPointerEx extension

on

Methods

destroy() → void mixer

Available on Pointer<MixAudio>, provided by the MixAudioPointerEx extension

Destroy the specified audio.
framesToMs(int frames) int mixer

Available on Pointer<MixAudio>, provided by the MixAudioPointerEx extension

Convert sample frames for a MIX_Audio's format to milliseconds.
getDuration() int mixer

Available on Pointer<MixAudio>, provided by the MixAudioPointerEx extension

Get the length of a MIX_Audio's playback in sample frames.
getFormat(Pointer<SdlAudioSpec> spec) bool mixer

Available on Pointer<MixAudio>, provided by the MixAudioPointerEx extension

Query the initial audio format of a MIX_Audio.
getProperties() int mixer

Available on Pointer<MixAudio>, provided by the MixAudioPointerEx extension

Get the properties associated with a MIX_Audio.
msToFrames(int ms) int mixer

Available on Pointer<MixAudio>, provided by the MixAudioPointerEx extension

Convert milliseconds to sample frames for a MIX_Audio's format.