View previous topic :: View next topic |
Author |
Message |
abix85 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 31 Oct 2004 Posts: 7
|
Posted: Sat Nov 13, 2004 6:55 am Post subject: Only one sound plays at a time... |
|
|
Im running a 2.6.9 kernel, with KDE 3.3, and using mplayer to watch movies while letting Gaim, Xchat, and any other stuff run in the background. Anyways, when I watch a movie with mplayer, the sounds all seem to queue up, so that when I finish watching the movie, I hear a long series of beeps from the other programs that queued up a sound to play.
Anyways, I was just wondering why this happens and how I could fix it. Thanks in advance. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
texas1emt Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/112421156141919dbd894d5.jpg)
Joined: 27 Oct 2003 Posts: 352 Location: San Antonio, TX
|
Posted: Sat Nov 13, 2004 8:13 am Post subject: |
|
|
Your problem is that your soundcard doesn't do hardware mixing. My SB Live on my desktop does it fine, but my Intel AC '97 Audio on my laptop has the same issues as you.
The only thing I can suggest is making yourself a dmixer plugin through ALSA/OSS. This may or may not work with Arts in KDE. Arts and I haven't been on speaking terms in a long time.
This HOWTO about dmixer is terrific!
And if you'd like to cut to the chase, here's my ~/.asoundrc: Code: | 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
#periods 128
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.mixer0 {
type hw
card 0
} |
But I highly recommend you read (and understand) the HOWTO linked above before copy/pasting that into your home directory. ![Wink :wink:](images/smiles/icon_wink.gif) _________________ M. Hayden - San Antonio, TX |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
abix85 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 31 Oct 2004 Posts: 7
|
Posted: Sat Nov 13, 2004 8:23 pm Post subject: |
|
|
Will do, thanks a lot. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|