thank for the information . I just tried esound , it worked nice with mpd.. but it seem that there is no way to make it work with opera ? I have looked on google and from what i have read im supposed to use the esddsp program but it didnt come with the esound package ; ( is it because it incompatible with openbsd ?
On Wed, Oct 31, 2007 at 10:47:20AM -0400, Nick Guenther wrote: > On 10/31/07, Samuel Proulx <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I have been using obsd as my primary desktop for a while now and i have a > > question about the sound system , is there a way to play > > two sounds at the same time ? Example watching youtube videos with opera > > and playing some music in the background with mpd or xmms . > > thank you for your time ; ) > > Unix has always been kind of weak in this area. You need a mixer of > some sort to do this. Not /dev/mixer, which controls audio volumes for > the different hardware devices, but a software mixer. > You'll probably want http://ports.openbsd.nu/audio/esound. There's > something called Pulse which is intended as a drop in (but superior) > replacement for esound, and someone () ported it to OpenBSD, but it's > not in the tree yet. > Reading http://www.pulseaudio.org/wiki/PerfectSetup might be > enlightening; it describes how to configure each program you want to > use to use pulse. > > Looking around some more, here's something like how you'd have to > configure mpd to use esound: > audio_output { > type "ao" > driver "esd" > options "host=jurp5-desktop:16001" > name "esd" > } > > Yes, you need to have each program direct it's output to the mixer, > there's no way (as far as I know) to sneakily make /dev/audio be a > software mixer. I don't know if the reason there's no /dev/audio_mix > is technical, or if it's just that no one's done the work, or if it's > just a tradition now. > > -Nick