> dmix forces everybody to play at 48kHz.  So, yes, that's possible.

You can control this in your .asoundrc using the rate parameter. I have it
set to 44100 in mine so that it doesn't have to re-sample my music. I
included a simple example below.

I also set the period_size size in the example. I found that setting it to
2048 totally eliminated the pops and crackles when listening to online
radio.



pcm.card0 {
    type hw
    card 0
}

ctl.card0 {
    type hw
    card 0
}

pcm.mix {
    type dmix
    ipc_key 1234
    slave { 
        pcm "card0"
        period_size 2048
        rate 44100
    }
}

pcm.!default mix



-- 

John Eikenberry
[...@zhar.net - http://zhar.net]
[PGP public key @ http://zhar.net/jae_at_zhar_net.gpg]
______________________________________________________________
"Perfection is attained, not when no more can be added, but when no more 
 can be removed." -- Antoine de Saint-Exupery

Attachment: signature.asc
Description: Digital signature

Reply via email to