We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding a Mix_GetAudioDeviceId allows to use SDL_LockAudioDevice
Mix_GetAudioDeviceId
SDL_LockAudioDevice
I can understand that allowing the device id outside the mixer can lead to programming errors.
Alternatively would it be possible to add Mix_LockAudioDevice (and the unlock part) ?
Mix_LockAudioDevice
or probably the best choice would be:
would it make sense instead to return the device id from Mix_OpenAudioDevice (and Mix_OpenAudio) ?
Mix_OpenAudioDevice
Let me know if anything would make any sense to have that add on in the mixer.
p.s. apologies if this might have been done for version 3 as i am still using 2.x
The text was updated successfully, but these errors were encountered:
No branches or pull requests
adding a
Mix_GetAudioDeviceId
allows to useSDL_LockAudioDevice
I can understand that allowing the device id outside the mixer can lead to programming errors.
Alternatively would it be possible to add
Mix_LockAudioDevice
(and the unlock part) ?or probably the best choice would be:
would it make sense instead to return the device id from
Mix_OpenAudioDevice
(and Mix_OpenAudio) ?Let me know if anything would make any sense to have that add on in the mixer.
p.s.
apologies if this might have been done for version 3 as i am still using 2.x
The text was updated successfully, but these errors were encountered: