LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Sound only works with one application at a time (https://www.linuxquestions.org/questions/linux-general-1/sound-only-works-with-one-application-at-a-time-332747/)

cspos 06-12-2005 09:52 AM

Sound only works with one application at a time
 
The title pretty much so explains it all. I'm running ALSA on an integrated VIA board. I used to run an SB Live! 5.1 in the computer as my primary card, until the two began to conflict and nothing worked. So I took it out. Now I'm using the VIA.

But now I can only get sound to work with one application at a time. For example, if I'm playing a song through Rhythmbox and I go to "Open Volume Control" on the Gnome volume control applet, I get an error saying "Sorry, no mixer elements and/or devices found." But when I pause playback on Rhythmbox, -- without closing the window -- I can get into volume control. This is very weird and a major inconvenience. Anyone have an ideas?

oneandoneis2 06-12-2005 10:55 AM

try telling everything to use alsa, and use the following .asoundrc file:

Code:

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
          }
  }

  pcm.dsp0 {
      type plug
          slave.pcm "dmixer"
  }

  pcm.!default {
          type plug
          slave.pcm "dmixer"
  }

  pcm.default {
      type plug
        slave.pcm "dmixer"
  }

 ctl.mixer0 {
    type hw
        card 0
  }


ilnli 06-14-2005 02:45 AM

I think thats a problem with alsa hope in next versions this thing will be solved

oneandoneis2 06-14-2005 03:06 AM

Alsa could indeed stand some improving. And now that it's an official part of the kernel, there's a high chance it'll get it!


All times are GMT -5. The time now is 01:23 PM.