No audio, "AudioClient_IsFormatSupported" returns "nil"

Questions about Wine on Linux
Locked
iijj22gg
Newbie
Newbie
Posts: 1
Joined: Fri Sep 17, 2021 11:33 am

No audio, "AudioClient_IsFormatSupported" returns "nil"

Post by iijj22gg »

Hello.

I'm having a problem with Wine. I'm having fun running Windows applications on Linux... with no sound. What's strange is that the executable I'm running shows up as an application with sound output in the sound settings, but there's nothing coming from it.
I've read the sound page on the wiki. I have both Pulse and Alsa drivers on my Linux Mint Cinnamon 20.2 installation, but "winecfg" only shows PulseAudio. Pressing the test sound button doesn't seem to do anything half the time I open winecfg.

I saw I could make a log with a bunch of options on that wiki in the "What to include when filing a bug" section, so I did that with a newer RPG Maker game (DirectSound is obsolete in newer RPGM games, this one uses the wav format), and found some strange things. Aside from the usual errors I always get, like "SECUR32_initNTLMSP ntlm_auth was not found or is outdated.", I found something interesting. I saw "init_driver Loading driver list L"pulse,alsa,oss,coreaudio,android" (why it wants Android I have no idea), and the first three loaded just fine, while the last two failed. I navigated the menu a bit because it makes sound effects, and aside from the segments that started with "MMDevice_Activate Returning 00000000", the log said repeatedly:

Code: Select all

4669.447:0052:trace:pulse:AudioClient_IsFormatSupported returning: 00000000 (nil)
4669.447:0052:trace:pulse:AudioClient_IsFormatSupported (0xf50a80)->(0, 0x4cdfaea, 0x4cdfae4)
4669.447:0052:trace:pulse:dump_fmt wFormatTag: 0x1 (WAVE_FORMAT_PCM)
4669.447:0052:trace:pulse:dump_fmt nChannels: 1
4669.447:0052:trace:pulse:dump_fmt nSamplesPerSec: 11025
4669.447:0052:trace:pulse:dump_fmt nAvgBytesPerSec: 22050
4669.447:0052:trace:pulse:dump_fmt nBlockAlign: 2
4669.447:0052:trace:pulse:dump_fmt wBitsPerSample: 16
4669.447:0052:trace:pulse:dump_fmt cbSize: 0
I'm not sure what's going on here, have I set something up incorrectly? :mrgreen:
Locked