Re: quake3+xmms
Am Donnerstag, 1. Juni 2006 20:00 schrieb Enrique Morfin:
> Hi!
>
> I just want to hear xmms music while playing.
>
> while xmms playing:
>
> if quake3-smp
>
> i got:
> ------- sound initialization -------
> /dev/dsp: Device or resource busy
> Could not open /dev/dsp
> ------------------------------------
>
> if aoss quake3-smp
>
> i got:
> ------- sound initialization -------
> ------------------------------------
> ----- Sound Info -----
> sound system is muted
> 1 stereo
> 16384 samples
> 16 samplebits
> 1 submission_chunk
> 22050 speed
> 0x8a5e780 dma buffer
> No background file.
> ----------------------
> Sound memory manager started
>
> in both cases no sound :(
>
> then i tried:
> echo "quake3-smp.x86 0 0 direct" >
> /proc/asound/card0/pcm0p/oss
>
> with quake3, quake3.x86, quake, quake3-smp,
> quake3-smp.x86
>
> none worked, still no sound in quake :(
>
> Any ideas?
>
> Thanks.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
Hi,
when you want to hear sound from more than one program, you need multiplexing
(that is, mixing several audiostreams together). Best and easiest way is to
use a soundcard for which the alsa-driver supports hw-multiplexing (see
http://www.alsa-project.org/alsa-doc/). There are also some sw-multiplexing
mechanisms available. eg arts which is part of KDE, gnome has it's own but I
forgot it's name. Alsa directly supports sw-multiplexing, too. You have to
setup a dmix device therfore (again see the alsa web page).
regards
Christoph
Reply to:
- References:
- quake3+xmms
- From: Enrique Morfin <enriquemorfin@yahoo.com>