Replies: 4 comments 3 replies
-
As a crap workaround I init a device with no set context, extract the device's context ( |
Beta Was this translation helpful? Give feedback.
-
When you pass in NULL for the context to As an experiment, what happens if you define Also, are you able to define |
Beta Was this translation helpful? Give feedback.
-
Sorry for the late reply. Disabling WASAPI works. The debug log doesn't appear to have anything useful:
The first 4 lines are from Wine and don't have anything to do with miniaudio. |
Beta Was this translation helpful? Give feedback.
-
For the record, I've found a Linux system where this bug doesn't occur, so this is even worse. |
Beta Was this translation helpful? Give feedback.
-
If I take the "Simple Playback Sine" example on the website it works correctly. But if I insert
and replace the first arg to
ma_device_init
with&ctx
then the program prints "Failed to open playback device."I don't know if this is a Windows problem or specifically with Wine. The same program works on Linux.
I technically do not need a custom context, but I found this strange nonetheless. Should I also iterate over the backends one-by-one until I find one that works, like
ma_device_init_ex
does?Beta Was this translation helpful? Give feedback.
All reactions