Asoundrc Nvidia-nforce2

From MythTV Official Wiki
Revision as of 10:17, 2 August 2008 by GBee (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NVidia nForce2 with ALC650D Information

I set this file up as I discovered that MythMusic 0.19 would play the music at different rates depending on the alignment of the planets. It was setup using 'default' which meant /dev/dsp i.e analog. I discovered that while I had all my mp3s at 44.1kHz the cards native rate was 48kHz. When using analogue (OSS) mode the rate conversion was hit and miss. When I changed the device to 'ALSA:hw:0,2' I got an error message along the lines of 'requested 44100 - only 48000 available'. Therefore I setup the asoundrc file below to rate convert the analogue channel (hw:0,0) to 48000. The device config in mythmusic setup is 'ALSA:rate48'. This works fine although the /dev/mixer is now broken which is on my TODO list as I don't use the mixer within myth.

asoundrc file

pcm.rate48 {
        type plug
        slave {
                pcm "hw:0,0"
                rate 48000
        }
}
ctl.rate48 {
        type hw
        card 0
}