sdlUnlockAudioDevice function

void sdlUnlockAudioDevice(
  1. int dev
)

Use this function to unlock the audio callback function for a specified device.

This function should be paired with a previous SDL_LockAudioDevice() call.

\param dev the ID of the device to be unlocked

\since This function is available since SDL 2.0.0.

\sa SDL_LockAudioDevice

extern DECLSPEC void SDLCALL SDL_UnlockAudioDevice(SDL_AudioDeviceID dev)

Implementation

void sdlUnlockAudioDevice(int dev) {
  final sdlUnlockAudioDeviceLookupFunction =
      libSdl2.lookupFunction<Void Function(Uint32 dev), void Function(int dev)>(
          'SDL_UnlockAudioDevice');
  return sdlUnlockAudioDeviceLookupFunction(dev);
}