You are not logged in.

#1 2007-10-18 18:13:11

Ilya
Member
From: Russia, Saint-Petersburg
Registered: 2007-08-16
Posts: 98

Sound server?

Why sounds can't play simultaneously? For example: Audacious, Xine and Maelstrom (game).
I know there is Arts in KDE, but i use Xfce! What to do in that case?

Offline

#2 2007-10-18 18:23:25

Mardukas
Banned
From: Lithuania
Registered: 2007-08-05
Posts: 121

Re: Sound server?

Maybe you're using OSS instead of alsa?

Offline

#3 2007-10-18 20:45:39

Ilya
Member
From: Russia, Saint-Petersburg
Registered: 2007-08-16
Posts: 98

Re: Sound server?

No! I use ALSA!
There is alsa in my rc.conf

...
DAEMONS=(syslog-ng network netfs crond hal alsa)
...

but i don't see it in process list (ps -ef). Something goes wrong?

Maybe built-in soundcard causes this problem? Maybe it can't mix sounds?
My motherboard is MSI 845E Max.

Last edited by Ilya (2007-10-18 20:55:45)

Offline

#4 2007-10-19 01:46:51

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: Sound server?

Each program must be set to use alsa for audio output.

If your card does'nt support multiple sound, you need to use dmix which is part of alsa.
Do you have /etc/asound.conf?

I never used any sound server and it work very well.

@+

Offline

#5 2007-10-19 08:37:20

Ilya
Member
From: Russia, Saint-Petersburg
Registered: 2007-08-16
Posts: 98

Re: Sound server?

Audacious and Xine have already been configured for Alsa. Maelstrom don't have sound driver config at all...

I've played with advanced Alsa settings in Audacious. And now Audacious, Xine and Maelstrom works together! My fault... Thanks! :-D

Offline

#6 2007-10-19 08:47:01

Noneus
Member
From: Munich
Registered: 2006-09-26
Posts: 118
Website

Re: Sound server?

Pulseaudio does everything. http://pulseaudio.org/ It's according to one of its developers: "Esound done right." Fedora will use it as its default soundserver. So will Ubuntu. It's supposed to replace esound and dmix. It has advantages over both. It has great features.

Offline

#7 2007-10-19 09:27:11

Ilya
Member
From: Russia, Saint-Petersburg
Registered: 2007-08-16
Posts: 98

Re: Sound server?

Site http://pulseaudio.org/ is offline (for me at least), so i can't get more info...

Are you offer Pulseaudio instead of ALSA?

Xine, Audacious, games written with libSDL will work with Pulseaudio?

Offline

#8 2007-10-19 09:56:38

Noneus
Member
From: Munich
Registered: 2006-09-26
Posts: 118
Website

Re: Sound server?

https://wiki.ubuntu.com/PulseAudio Here is some more info. The site is down for me too.

There is talk about pulseaudio on pulseaudios site. The guy there describes nice things like a VoiP app that could lower the volume of all apps so you can hear your call better and different volumes for every process.

Well Pulseaudio can be used with alsa. You can find more instructions on arch's wiki page about it: http://wiki.archlinux.org/index.php/PulseAudio
/etc/asound.conf :

pcm.!default {
    type pulse
}

ctl.!default {
    type pulse
}

Although that didn't work for me that well. SDL works. But you have to compile it against esound and export SDL_AUDIODRIVER="esd". The same with openal. It has OSS emulation like aoss eddsp and so on with preloading.

If everything works with dmix. Stick with dmix. Since it takes some recompiling and configuring. I'd wait for better support.

Last edited by Noneus (2007-10-19 09:57:54)

Offline

Board footer

Powered by FluxBB