Alex - 2021-06-11

Hi, all!!
For functionality reasons, I need to configure different rates for playback and recording.
For capture I need force a rate of 16000 but for playblack I want to keep the default.

If I use individually aplay or arecord it works correctly but simultaneously I get errors and it does not work.

Would it be correct to use different frequencies for playback and capture for the same card?

/etc/asound.conf

pcm.!default {

        type asym

        playback.pcm {
                type hw
                card 0
                device 0
        }

        capture.pcm {
                type plug
                slave {
                        pcm {
                                type hw
                                card 0
                                device 0
                rate 16000
                        }
                }
        }
}

Thanks!!