Firstly I apologize if this question has already been asked and solved. I searched but perhaps my keywords were off.
Problem: Running EVE Online using Wine. Runs great!
The one issue I haven’t been able to solve yet is that when I’m running the game, I’m not able to get sound out of any other application.
I’m able to play multiple sounds at once with any other applications. I can play a video on youtube and have banshee playing at the same time, and yes, I hear the mashup of sounds, but when I have EVE going, the only thing I can hear is the game. I can launch Banshee or Totem, but they just sit there with the song progress at 0.
Note that most sound servers/daeons (aRts, esound … ) do not allow sharing of audio between applications. The older version of OSS also did not allow that (there have been recent OSS updates and I do not know their status). Alsa (which is the Linux audio driver used by most Linux distributions) in addition to being a driver, also comes with an API (referred to as the alsa API). The alsa API will allow sharing of audio between applications that all use the alsa API.
Pulse audio was intended to also provide the capability for multiple multimedia applications to share the audio device, but pulse is still buggy.
If one can find a way to have all their multimedia applications use the alsa api (as opposed to auto, or oss, or pulse … ) then there is a chance that one can have multiple applications playing audio at the same time.
Actually, I just fixed it (by looking for an answer for somebody else’s problem!)
I went into “Pulse Audio Preferences” (computer->more applications->multimedia)
Then under the “Simultaneous Output” tab, there was only one checkbox “Add virtual output device for simultaneous output on all local cards”
I think you have to have pulse audio turned on for your soundcard (do it via yast) for that application to show up in the menu (which is probably why I hadn’t noticed it until now. I rarely go into “more applications” )
Now THAT may be applicable to all desktops. You state you added to your ~/.asoundrc file. Typically there is no such file, although users can create one to customize their sound setup. Did you already have an exisiting ~/.asoundrc file you added to? … or did you at this time create a new ~/.asoundrc file?
This sets DMIX and DSNOOP as the default mixers. With this I could get simultaneous sound with Wine and Mplayer only.
Deleteing the .asoundrc and checking the “simultaneous output” setting in Pulse Audio would allow simultaneous sound from Wine and all applications - The catch: when I would try to open the control panel in Eve, Wine would crash.
I put in the configuration from my last reply into the .asoundrc, and everything is seemingly great.
I have no idea why I have to have a .asoundrc file now (Did Alsa get addicted to it? ) but everything seemingly works
I assme you need it to stop the wine crash you refered to. I don’t think you mean “addicted” but rather mean some other word?
There was a time (mostly before I know anything about sound) when .asoundrc was mostly needed, but now thats not the case. It is mostly NOT needed. Now adays, typically only when a user has a configuration slightly outside of the nominal might a .asoundrc file offer capabilities that are not present.