SdlAudioStreamPointerEx extension
Methods
-
clear(
) → bool -
Available on Pointer<
Clear any pending data in the stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
close(
) → void -
Available on Pointer<
Close a previously-opened audio device.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
destroy(
) → void -
Available on Pointer<
Free an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
flush(
) → bool -
Available on Pointer<
Tell the stream that you're done sending data, and anything being buffered should be converted/resampled and made available immediately.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
getAvailable(
) → int -
Available on Pointer<
Get the number of converted/resampled bytes available.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
getData(
Pointer< NativeType> buf, int len) → int -
Available on Pointer<
Get converted/resampled data from the stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
getDevice(
) → int -
Available on Pointer<
Query an audio stream for its currently-bound device.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
getFormat(
Pointer< SdlAudioSpec> srcSpec, Pointer<SdlAudioSpec> dstSpec) → bool -
Available on Pointer<
Query the current format of an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
getFrequencyRatio(
) → double -
Available on Pointer<
Get the frequency ratio of an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
getGain(
) → double -
Available on Pointer<
Get the gain of an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
getInputChannelMap(
Pointer< Int32> count) → Pointer<Int32> -
Available on Pointer<
Get the current input channel map of an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
getName(
) → String? -
Available on Pointer<
Get the human-readable name of a specific audio device.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
getProperties(
) → int -
Available on Pointer<
Get the properties associated with an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
getQueued(
) → int -
Available on Pointer<
Get the number of bytes currently queued.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
lock(
) → bool -
Available on Pointer<
Lock an audio stream for serialized access.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
pause(
) → bool -
Available on Pointer<
Use this function to pause audio playback on the audio device associated with an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
paused(
) → bool -
Available on Pointer<
Use this function to query if an audio device is paused.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
putData(
Pointer< NativeType> buf, int len) → bool -
Available on Pointer<
Add data to the stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
resume(
) → bool -
Available on Pointer<
Use this function to unpause audio playback on the audio device associated with an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
setFormat(
Pointer< SdlAudioSpec> srcSpec, Pointer<SdlAudioSpec> dstSpec) → bool -
Available on Pointer<
Change the input and output formats of an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
setFrequencyRatio(
double ratio) → bool -
Available on Pointer<
Change the frequency ratio of an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
setGain(
double gain) → bool -
Available on Pointer<
Change the gain of an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
setGetCallback(
Pointer< NativeFunction< callback, Pointer<SdlAudioStreamCallback> >NativeType> userdata) → bool -
Available on Pointer<
Set a callback that runs when data is requested from an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
setInputChannelMap(
Pointer< Int32> chmap, int count) → bool -
Available on Pointer<
Set the current input channel map of an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
setOutputChannelMap(
Pointer< Int32> chmap, int count) → bool -
Available on Pointer<
Set the current output channel map of an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
setPutCallback(
Pointer< NativeFunction< callback, Pointer<SdlAudioStreamCallback> >NativeType> userdata) → bool -
Available on Pointer<
Set a callback that runs when data is added to an audio stream.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension -
unlock(
) → bool -
Available on Pointer<
Unlock an audio stream for serialized access.SdlAudioStream> , provided by the SdlAudioStreamPointerEx extension