http://bugs.winehq.org/show_bug.cgi?id=21609
LeafFace fatalcradle@comcast.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fatalcradle@comcast.net
--- Comment #36 from LeafFace fatalcradle@comcast.net 2010-06-17 02:06:36 --- SOLVED?
Short Version: Using Synaptic Package Manager or apt-get, install the libmpg123-dev and libopenal-dev packages. This should solve the problem of games losing sound effects but not music.
Long Version: Being a bit of a newb to wine/Ubuntu, I have no idea if this is a proper fix. Feedback/results are appreciated. I've been running Oblivion, and everything worked beautifully with the exception of sound. Music and dialogue played fine, but effects (footsteps, weapon sounds, the like) didn't play. This was a game-breaker for me. After bloody ages figuring out how to patch the wine source, I did so with both fixes listed above, and recompiled. No dice. Upon a second attempt, I ran ./configure and noticed that several of the development libraries were missing, crippling wine's functionality. Some of the issues are of no concern to me, like SSL or CUPS, but the two I mentioned enable the mp3 codec, and enable OpenAL, respectively. OpenAL is responsible for generating sounds in a 3D environment, which is why music and voice-overs that just play work, but sounds like footsteps or far off voices which are affected by position relative to the character don't. Anyway, after installing those packages. recompiling the source (probably not necessary but I did it just in case), and putting on my lucky socks I ran Oblivion. It worked like the charm; as of yet I haven't encountered any lacking sounds.
I've only tested this with 1.2rc-3 and Oblivion, but given the general nature of the problem I'm guessing it will work for most versions/programs.