Hi, I added some nice IP telephone programs and other sound related applications to the next version of WineTools. The problem is that only oss sound is reliable. With it it works very nice. But if during running a program another linux program accesses sound, the sound output of the Wine program is dying often does not come back. This is typical as only one program can access the oss dsp-device. So I tried running Wine with export LD_PRELOAD=/usr/lib/libaoss.so but that does not work. It is simply ignored. So my question is: How can I configure my system to allow simultaneous playback of oss and alsa sound. Regards Joachim von Thadden -- "Never touch a running system! Never run a touching system? Never run a touchy system!!!"
Joachim, On paper I think the answer is 'dmix'. I've not bothered to try this out myself (haven't had a need) but I'm pretty sure it's intended to address exactly the issue you are seeing. You may need to develop some sort of virtual sound card in a local rc file. Not sure. http://alsa.opensrc.org/index.php?page=DmixPlugin http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix NOTE: I think the way you stated the problem below is a little bit incorrect, at least on a standard Linux system. Normally there isn't both Alsa and OSS running. There is only Alsa. What you are talking about here is OSS emulation by Alsa ofor certain applications and then mixing it back in with sound from Alsa applications. Is that correct? HTH, Mark On 4/21/05, Joachim von Thadden <thadden@web.de> wrote:> Hi, > > I added some nice IP telephone programs and other sound related > applications to the next version of WineTools. The problem is that only > oss sound is reliable. With it it works very nice. > > But if during running a program another linux program accesses sound, > the sound output of the Wine program is dying often does not come back. > This is typical as only one program can access the oss dsp-device. So I > tried running Wine with > > export LD_PRELOAD=/usr/lib/libaoss.so > > but that does not work. It is simply ignored. > > So my question is: How can I configure my system to allow simultaneous > playback of oss and alsa sound. > > Regards > Joachim von Thadden > -- > "Never touch a running system! Never run a touching system? > Never run a touchy system!!!" > _______________________________________________ > wine-users mailing list > wine-users@winehq.org > http://www.winehq.org/mailman/listinfo/wine-users >
Just configure Wine for ALSA use : in $HOME/.wine/config [WinMM] "Drivers" = "winealsa.drv" [ALSA] "PlaybackDevice" = "hw" and load the needed oss emulation modules : snd_pcm_oss snd_seq_oss snd_mixer_oss --- Joachim von Thadden <thadden@web.de> wrote:> Hi, > > I added some nice IP telephone programs and other sound related > applications to the next version of WineTools. The problem is that only > oss sound is reliable. With it it works very nice. > > But if during running a program another linux program accesses sound, > the sound output of the Wine program is dying often does not come back. > This is typical as only one program can access the oss dsp-device. So I > tried running Wine with > > export LD_PRELOAD=/usr/lib/libaoss.so > > but that does not work. It is simply ignored. > > So my question is: How can I configure my system to allow simultaneous > playback of oss and alsa sound. > > Regards > Joachim von Thadden > -- > "Never touch a running system! Never run a touching system? > Never run a touchy system!!!" > _______________________________________________ > wine-users mailing list > wine-users@winehq.org > http://www.winehq.org/mailman/listinfo/wine-users >Kind regards, Usurp (aka Sylvain Petreolle) humans are like computers, yesterday the BIOS was all - today its just a word