Repository navigation
Replies: 5 comments 3 replies
|
As a crap workaround I init a device with no set context, extract the device's context ( |
|
When you pass in NULL for the context to As an experiment, what happens if you define Also, are you able to define |
|
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. |
|
For the record, I've found a Linux system where this bug doesn't occur, so this is even worse. |
|
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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_initwith&ctxthen 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_exdoes?All reactions