Converting Sample Rates on Input .asoundrc

From the ALSA wiki

(Difference between revisions)
Jump to: navigation, search
(Copied from old wiki)
m (added to howto category)
 
Line 12: Line 12:
This will take an input of any rate and convert it to 48000 hz, change to suit your needs.
This will take an input of any rate and convert it to 48000 hz, change to suit your needs.
 +
 +
[[Category:Howto]]

Latest revision as of 11:26, 7 January 2007

Converting Sample Rates On Input

pcm.rate_convert {
    type plug
    slave {
        pcm "hw:0,0"
        rate 48000
    }
}

This will take an input of any rate and convert it to 48000 hz, change to suit your needs.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox