SdlAudioStreamEx extension

on

Static Methods

create(Pointer<SdlAudioSpec> srcSpec, Pointer<SdlAudioSpec> dstSpec) Pointer<SdlAudioStream>

Available on SdlAudioStream, provided by the SdlAudioStreamEx extension

Create a new audio stream.
open(int devid, Pointer<SdlAudioSpec> spec, Pointer<NativeFunction<SdlAudioStreamCallback>> callback, Pointer<NativeType> userdata) Pointer<SdlAudioStream>

Available on SdlAudioStream, provided by the SdlAudioStreamEx extension

Convenience function for straightforward audio init for the common case.