No 2 programs can play sound at the same time?
Hi there,
Sometimes I watch movies, listen musics/radio, and tts (text-to-speech) books at the same time. But I found whichever program I start making sound, no other programs can make a sound anymore. Did I miss some setting? |
Quote:
Congratulations! You just won the gold medal in the olympics for multitaskers. Jokes aside, sorry, can't help you. A Slackware guru will most likely pop in soon and help you out. Best regards, HMW |
Quote:
But I just can't help myself from doing this... |
If your profile's distribution is Slackware 14.1, I think that you use ALSA. Can you please post /etc/asound.conf? If there are no such file show "cat /proc/asound/modules" and output of "aplay -L".
P.S. Maybe the solution will be to create or edit /etc/asound.conf with something like Code:
defaults.ctl.card 1 |
If recently nothing happened ALSA will always only give control over the sound device to one program. It just by design.
You could try pulseaudio. This is a wrapper over alsa. It takes control over the sound card and other programs give their output to pulseaudio. |
Quote:
|
Always thought it was ALSA that gave only one prog the reign. But it was with OSS. Learned something new.
Two links I read up on. http://alsa.opensrc.org/AlsaSharing https://wiki.archlinux.org/index.php...hitecture#Dmix |
Quote:
It is ok if only one program can make sound at a time. Thanks guys. |
Hey, I have alsa and I have no problem playing movies on vlc and watching video in firefox or playing music with amarok at the same time. From what I have read somewhere, alsa takes the sound from each source and mixes them.
In fact, I once tried pulseaudio and I had that one sound per program issue. Whenever I would open vlc, any other program already playing would lose access to speakers. But with alsa it works fine. I might be wrong, but maybe it has something to do with gstreamer and the gst plugins. I noticed that without the plugins there are less support for programs like amarok. You could try to install the gstreamers and the gst plugins (good, bad, ugly). Just check which ones already come with Slackware. |
Quote:
|
Quote:
Quote:
Quote:
|
Oh...I am sorry. I wasn't paying attention here.
Here you go: Quote:
Quote:
Quote:
|
Ok, so I suggest to edit /etc/asound.conf to the
Code:
defaults.ctl.card 1 |
All times are GMT -5. The time now is 08:40 PM. |