Hello,
On Wed, 21 May 2008, Zico wrote:
> The funny thing is, if i want to play any sound from any sites with firefox,
> it plays.... but at the same time if i wanna play something from my hdd, it
> doesn`t!!! :(
This means that firefox (or some program that it is using like esound
or pulse or the flashplayer) is "holding" the sound device. This
prevents other programs from queueing audio stuff.
If you want multiple programs to be able to access your sound
hardware at the same time, then you need to activate the "dmix" alsa
plugins. I had this figured out a while ago and wrote the enclosed
".asoundrc" file. It works for me but I've forgotten why ;-)
If you do check this out and it works please write some documentation!
Regards,
Kapil.
--
pcm.!Default {
type plug
slave.pcm "asym"
}
pcm.!default {
type plug
slave.pcm "asym"
}
pcm.asym {
type asym
playback.pcm "save"
capture.pcm "dmixin"
}
pcm.dsp0 {
type plug
slave.pcm "asym"
}
pcm.dsp {
type plug
slave.pcm "asym"
}
pcm.save {
type file
slave.pcm "dmixout"
file "/home/kapil/lib/record.raw"
}
pcm.dmixout {
type dmix
ipc_key 190360
ipc_key_add_uid yes
slave {
pcm hw
channels 2
period_time 0
period_size 1024
buffer_size 32768
#periods 128
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.mixer0 {
type hw
card 0
}
pcm.dmixin {
type dsnoop
ipc_key 5978293 # must be unique for all dmix plugins!!!!
ipc_key_add_uid yes
slave {
pcm hw
channels 2
period_size 1024
buffer_size 32768
rate 44100
periods 0
period_time 0
}
bindings {
0 0
1 1
}
}
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc