Re: [Alsa-user] Resampling frequency selection

2009-10-20 Thread Grant
> I'm resampling to 24/88.2 via dmix like this, and it works great: > > defaults.pcm.rate_converter "samplerate_linear" > pcm.!default { > type plug > slave.pcm { > type dmix > ipc_key 1024 > slave { > pcm "hw:0,0" > format S24_3LE > rate 88200 > } > } > } > > Is there any way to resample condition

[Alsa-user] Resampling frequency selection

2009-10-20 Thread Grant
I'm resampling to 24/88.2 via dmix like this, and it works great: defaults.pcm.rate_converter "samplerate_linear" pcm.!default { type plug slave.pcm { type dmix ipc_key 1024 slave { pcm "hw:0,0" format S24_3LE rate 88200 } } } Is there any way to resample conditionally? For example, resample 16/