You are not logged in.

#1 2004-06-24 08:32:42

matto
Member
From: Münster/germany
Registered: 2004-06-03
Posts: 88
Website

sound

hi there
i noticed a problem i could nor solve my self....
when i listen to music with xmms and have licq running recieving messages
the licq message sound is suppresed
when i close xmms all the missed licq sound are played....
this is very stupid... at the moment i turd licqś sound off, but isnt there a chance to hear both sounds????
greetings matto


// DAMNiAM //

Offline

#2 2004-06-24 08:45:05

dpb
Member
From: Cyperspace?
Registered: 2004-04-11
Posts: 231

Re: sound

I have this problem too with gaim (but turned the sounds off, i don't need them).

Would be nice to know how to fix this, but it's not at the top of my list to find out how..

Offline

#3 2004-06-24 10:31:23

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: sound

You have to post more info about your hardware/software configs. For example I have SB Live soundcard that can play a few sounds at the same time using just alsa without special daemons like esd or arts.
Please post:
- lspci, lsmod outputs and the MODULES line from your /etc/rc.conf - this will show your soundcard hardware and alsa/oss modules that you use.
- what kind of wm/de and sound daemon do you use (for gnome it's probably esd and arts for kde). It's possible to not use the daemon at all if your hardware can support it.
- I don't use licq/gaim so I have to ask: is it possible to change the way the sound is played by these programs? In psi you can tell it to use some other program (like aplay) to play sounds.
- how did you set up xmms to play sounds (alsa / oss?)
- what kernel versions are you using (just in case :-))
- did you check what is alsa support for your card at http://www.alsa-project.org?
- if you are using kde/gnome did you check docs for enabling sound daemons?

Offline

#4 2004-06-24 15:14:52

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: sound

Try altering the xmms output settings; it seems to be blocking the sound device.

Offline

#5 2004-06-24 20:23:18

matto
Member
From: Münster/germany
Registered: 2004-06-03
Posts: 88
Website

Re: sound

hi there!
i use kernel 2.6.7
lsmod output:
Module                  Size  Used by
ne2k_pci                8160  0
8390                    9600  1 ne2k_pci
crc32                   4352  1 8390
snd_via82xx            26020  1
snd_ac97_codec         68356  1 snd_via82xx
gameport                3968  1 snd_via82xx
snd_mpu401_uart         7040  1 snd_via82xx
snd_rawmidi            21540  1 snd_mpu401_uart
snd_seq_device          6920  1 snd_rawmidi
snd_pcm_oss            51880  0
snd_pcm                91780  2 snd_via82xx,snd_pcm_oss
snd_page_alloc          9480  2 snd_via82xx,snd_pcm
snd_timer              23556  1 snd_pcm
snd_mixer_oss          18304  2 snd_pcm_oss
snd                    50276  9 snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               8160  2 snd
ntfs                  119660  1
nls_cp437               5760  1
vfat                   12928  1
fat                    41632  1 vfat

lspci output:
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 02)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 10)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 10)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 10)
00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 20)
00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
01:00.0 VGA compatible controller: nVidia Corporation RIVA TNT2 Model 64 (rev 15)

i use xfce4

rc.conf modules:
MODULES=(snd-pcm-oss snd-via82xx ne2k-pci !usbserial !ide-scsi)

ok i really dont know what to do! :-) i just followed the alsa setup in the wiki :-)

greetings matto


// DAMNiAM //

Offline

#6 2004-06-24 22:51:06

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: sound

Ok. Now we've got (almost) all info needed to help you :-) It seems that you have your alsa properly configured.
The rest will be a bit theoretical because I'm using only alsa for my sound but it should help you:

1. According to the soundcard matrix from alsa website your card does not have hardware mixing which means that you have to start some sound mixing daemon (software mixing) which will be arts (from kde) or esd (from gnome) depending on your preferences and needs. If you run a lot of kde apps you probably should use arts. On the other hand if you want something smaller and faster (?) use esd. Sometimes you will have no other choice but installing and running both sound daemons (IIRC arts can use esd too) - but for now you can try just one of them. If you want to know more about sound mixing read this:
http://alsa.opensrc.org/index.php?page=FAQ018
http://alsa.opensrc.org/index.php?page=FAQ031
http://alsa.opensrc.org/index.php?page= … are+mixing
http://alsa.opensrc.org/index.php?page=DmixPlugin

2. Licq seems to support external sound players - it should be usable with both esd and arts.

3. I don't know what's your xmms output plugin now but you should be able to use esd with the standard arch xmms package (just change output plugin from alsa or oss to esd in the preferences menu). If you want to use arts with xmms you have to install additional package (pacman -S xmms-arts).

4. Now you will have to start somehow the sound daemon. You can do this at boot time or x startup time - too many possibities to describe them all. For example you can simply run esd on the boot time by adding esd to the DAEMONS line in your /etc/rc.conf
Read more for other possibilites and configuration options:
- man esd
- http://www.arts-project.org/doc/handbook/
- http://www.tux.org/~ricdude/dbdocs/book1.html

5. You have to change your licq configs to use /usr/bin/esdplay (for esd) or /opt/kde/bin/artsplay (for arts) for playing all sounds (unless it has the ability to use esd or arts directly - I don't use licq so I don't know - check licq mailing lists archives if you encounter any troubles with this).

Now you should be able to hear xmms and licq sounds at the same time. If it works for you please post your configs for the others.

Offline

#7 2004-06-25 09:51:39

dpb
Member
From: Cyperspace?
Registered: 2004-04-11
Posts: 231

Re: sound

Thanks. I got the same sound modules as matto.
I changed the outputs to esd and they now work.
And AFAIK esd is NOT from gnome, it's from Enlightenment.

Offline

#8 2004-06-25 10:10:38

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: sound

Yes but it's now in gnome (IIRC it was donated to gnome project or something like that) Doesn't really matter - important thing is that it works :-)

Offline

#9 2004-06-29 11:31:44

matto
Member
From: Münster/germany
Registered: 2004-06-03
Posts: 88
Website

Re: sound

thank you very much!
it work using esd :-)
matto


// DAMNiAM //

Offline

Board footer

Powered by FluxBB