MixAudioPointerEx extension

on

Methods

destroy() → void

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

Destroy the specified audio.
framesToMs(int frames) int

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

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

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

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

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

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

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

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

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