small improvements for fedora 3: sound mixing

Christian Paratschek christian.paratschek at reflex.at
Thu May 27 16:40:52 UTC 2004


hi!

this does not work for me. xmms and rhythmbox play fine, but gaim sound
does not and gaim crashes when i try to close it.

i am not a programmer  but i test whatever you tell me :-)
would be great if i could be helpful here...

regards,
christian

> [snip]
> 
> I have further suggestions: make the defult output device dmix, and
> default input device dsnoop. Then create a default device with full
> duplex, like this:
> 
> #
> # DMIX input device
> #
> pcm.!output {
>     type dmix
>     ipc_key 1234
>     slave {
>         pcm "hw:0,0"
>         period_time 0
>         period_size 1024
>         rate 44100
>     }
> }
>                                                                           
>                                              
> #
> # DSNOOP output device
> #
> pcm.!input {
>     type dsnoop
>     ipc_key 1234
>     slave {
>         pcm "hw:0,0"
>         period_time 0
>         period_size 1024
>         rate 44100
>     }
> }
>                                                                           
>                                              
> #
> # ASYM duplex device
> #
> pcm.!duplex {
>     type asym
>     playback.pcm "output"
>     capture.pcm "input"
> }
>                                                                           
>                                              
> #
> # Make the duplex device default
> #
> pcm.!default {
>     type plug
>     slave.pcm "duplex"
> }
>                                                                           
>                                              
> #
> # OSS Compability
> #
> pcm.!dsp0 {
>     type plug
>     slave.pcm "duplex"
> }
>                                                                           
>                                              
> ctl.!mixer0 {
>     type hw
>     card 0
> }
> 
> This should enable sound mixing - both input and ouput - to /just work/
> for all supported cards.    
> 
> /Peter Backlund






More information about the fedora-devel-list mailing list