Header menu logo Nu

SdlAudioPlayer Type

The SDL implementation of AudioPlayer.

Record fields

Record Field Description

AudioMessages

Full Usage: AudioMessages

Field type: List<AudioMessage>
Modifiers: mutable
Field type: List<AudioMessage>

AudioPackages

Full Usage: AudioPackages

Field type: Packages<nativeptr<MIX_Audio>, unit>
Field type: Packages<nativeptr<MIX_Audio>, unit>

FreeTracks

Full Usage: FreeTracks

Field type: ConcurrentStack<nativeptr<MIX_Track>>
Modifiers: mutable
Field type: ConcurrentStack<nativeptr<MIX_Track>>

MasterAudioVolume

Full Usage: MasterAudioVolume

Field type: single
Modifiers: mutable
Field type: single

MasterSongVolume

Full Usage: MasterSongVolume

Field type: single
Modifiers: mutable
Field type: single

MasterSoundVolume

Full Usage: MasterSoundVolume

Field type: single
Modifiers: mutable
Field type: single

MixerOpt

Full Usage: MixerOpt

Field type: nativeptr<MIX_Mixer> option
Field type: nativeptr<MIX_Mixer> option

ReturnTrack

Full Usage: ReturnTrack

Field type: SdlAudioStoppedCallback
Modifiers: mutable
Field type: SdlAudioStoppedCallback

SongOpt

Full Usage: SongOpt

Field type: (SongDescriptor * nativeptr<MIX_Track>) option
Modifiers: mutable
Field type: (SongDescriptor * nativeptr<MIX_Track>) option

SongTrackPropertiesId

Full Usage: SongTrackPropertiesId

Field type: SDL_PropertiesID
Field type: SDL_PropertiesID

Static members

Static member Description

SdlAudioPlayer.make ()

Full Usage: SdlAudioPlayer.make ()

Returns: SdlAudioPlayer

Make an SdlAudioPlayer.

Returns: SdlAudioPlayer

Type something to start searching.