Revo 3610 Audio Problems

Decided to do a reinstall of my Revo 3610 to have a clean up.

And as normal I had problems getting the audio to work

The first thing that I did was login to the command line and typed the following command

alsamixer

┌───────────────────────────── AlsaMixer v1.0.22 ──────────────────────────────┐
│ Card: HDA NVidia                                     F1:  Help               │
│ Chip: Nvidia MCP79/7A HDMI                           F2:  System information │
│ View: F3:[Playback] F4: Capture  F5: All             F6:  Select sound card  │
│ Item: Master [dB gain: -3.00]                        Esc: Exit               │
│                                                                              │
│     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐                                 │
│     │▒▒│     │▒▒│     │▒▒│     │  │     │  │                                 │
│     │▒▒│     │▒▒│     │▒▒│     │  │     │  │                                 │
│     │▒▒│     │▒▒│     │▒▒│     │  │     │  │                                 │
│     │▒▒│     │▒▒│     │▒▒│     │  │     │  │                                 │
│     │▒▒│     │▒▒│     │▒▒│     │  │     │  │                                 │
│     │▒▒│     │▒▒│     │▒▒│     │  │     │  │                                 │
│     │▒▒│     │▒▒│     │▒▒│     │  │     │  │                                 │
│     │▒▒│     │▒▒│     │▒▒│     │  │     │  │                                 │
│     │▒▒│     │▒▒│     │▒▒│     │  │     │  │                                 │
│     │▒▒│     │▒▒│     │▒▒│     │  │     │  │                                 │
│     │▒▒│     │▒▒│     │▒▒│     │  │     │  │                                 │
│     ├──┤     └──┘     ├──┤     ├──┤     └──┘     ┌──┐     ┌──┐     ┌──┐      │
│     │OO│              │OO│     │MM│              │MM│     │OO│     │MM│      │
│     └──┘              └──┘     └──┘              └──┘     └──┘     └──┘      │
│      95    100<>100  94<>94    0<>0     0<>0                                 │
│  < Master >  PCM     Front     Mic    Mic Boos  S/PDIF  S/PDIF D S/PDIF 1    │
└──────────────────────────────────────────────────────────────────────────────┘
ensure that master is on and S/PDIF are all on (left right arrows and M)
Then typed
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
Then did the following
sudo wget http://pastebin.com/download.php?i=ApvUwtUX -O /etc/asound.conf
then
sudo wget http://pastebin.com/download.php?i=f2e38265 -O /usr/share/alsa/cards/HDA-Intel.conf

then

sudo nano /etc/asound.conf
and changed
slave.pcm "hw:1,3"
to
slave.pcm "hw:0,3"
Matches card 0 device 3

then

nano /home/xbmc/.xbmc/userdata/advancedsettings.xml

then added the following lines


<useddsfanart>true</useddsfanart>
Author: admin