[Bug 32378] no sound at all, "Test Sound" button gives threading model error

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Mar 12 10:34:41 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=32378

--- Comment #23 from Andrew Eikum <aeikum at codeweavers.com> 2013-03-12 10:34:41 CDT ---
(In reply to comment #20)
> Hi Andrew, I'd like to accommodate you and use the ALSA driver, but it doesn't
> seem to be an option: for output device I can choose between "(System
> default)", which seems to be the Pulse driver, and "Pulseaudio".

You have to switch the driver in the registry. You can create a new entry:
[HKCU\Software\Wine\Drivers]
Audio="alsa"

> I did like you asked and downloaded idw_testsound.wav, and there isn't any
> sound when PlaySound.exe plays it.  Aha!  What is it about that WAV file?  
> 

That file's format is IMAADPCM, which most hardware devices don't support. It's
converted by our MSACM implementation into uncompressed PCM data and sent to
the hardware. 

> I'd be happy to try compiling Wine.  Maybe you could send me an email giving me
> a rough outline of what to do.  I'm guessing I'll use apt-get to uninstall Wine
> but not its dependencies, use Git to pull down the source, and then run "make"
> and "make install".  This computer is just a netbook, so compiling will
> probably take a long time, but it will be the computer's time and not mine.

You shouldn't have to uninstall your distribution's Wine. After you install
dependencies ("apt-get builddeps wine-1.5", or something like that, I don't use
Ubuntu myself; consult the wiki), you can use Git to clone the Wine source
tree, then run "./configure && make -j2" and walk away for 30 minutes ;) When
you get back, you can run Wine straight out of the source tree with
"/path/to/wine-git/wine application.exe" or so.

Some more information on the wiki:
http://wiki.winehq.org/FAQ#head-719d19ccbd20c36445e065d0f46f80c2a301ce52


Maybe this is a bit of a stretch, but...

All of your successful logs use a device sample rate of 11025 Hz. All of your
failing logs use a rate of 44100 Hz, which is also the default rate of a stream
that goes through format conversion (MSACM). I wonder if something is happening
closer to the hardware level related to the sample rate?

I've emailed you a tarball with three WAV files in it. All of them just play
the same low tone, but are exported at different sample rates. Can you try
experimenting with these? It would be useful to run them both in Wine with
PlaySound, and with native Linux applications like aplay and/or VLC or
whatever.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list