LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ALSA problems mixing sounds! (https://www.linuxquestions.org/questions/linux-software-2/alsa-problems-mixing-sounds-359080/)

Ian_Hawdon 09-01-2005 05:19 AM

ALSA problems mixing sounds!
 
Hi, i have an Nvidia Nforce 3 on my HP pavilion zv5000 series laptop.

i cant have any sound whilst xine is running and if any other sound has just happened before xine runs, it complains that the sound device is busy

here is my asound.conf file

Code:

#/etc/asound.conf start:
pcm.!default {
  type plug
  slave.pcm "dmixer"
  }
pcm.dsp0 {
  type plug
  slave.pcm "dmixer"
  }
pcm.dmixer {
  type dmix
  ipc_key 1024
 slave {
  pcm "hw:0,0"
  period_time 0
  period_size 1024
 buffer_size 8192
  rate 44100
  }
 bindings {
  0 0
  1 1
  }
  }

ctl.dmixer {
  type hw
  card 0
  }
#end.

I am running Fedora Core 4 x86_64, this config used to work on FC3!

Why is it not working!?!?!?:scratch: :scratch: :cry: :cry: :scratch: :scratch: :Pengy:

foo_bar_foo 09-01-2005 10:21 PM

some programs just don't play nice and hold a lock on the sound
not sure about xine though once i read where it was a bug in pre 1.0.4 alsa that made xine not work with dmix
sometimes there are some rather deep discussions on the boards as to who will take responsibility for fixing incompatabilities and i think this one fell on ALSA so a kernel upgrade might fix it.

edit: oops just read you are using fedora4 (should have read that first)
bug must have reapeared sorry

just ignore me -- i live a life well wasted most of the time

Ian_Hawdon 09-02-2005 03:57 AM

xine works if i set it to run through arts, but the sound is jumpy (arts is not good for music :D)

how can i check if the asound.conf is even being run at all?

on the alsa website it says it's called from

/usr/share/alsa/alsa.conf

but fedora had put it at

/etc/alsa/alsa.conf

is this the problem?

Komakino 09-02-2005 05:46 AM

If sound in arts is jumpy you can change the buffer size. Kill artsd and then try running:
artsd --help
for all the possible options.

Ian_Hawdon 09-02-2005 10:22 AM

The point is i dont want to use arts, alsa used to work on Fedora Core 3!


All times are GMT -5. The time now is 05:42 AM.