Kodi Community Forum

Full Version: ZSNES has no sound
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This problem has been bothering me for almost a week. I've searched through countless threads to find a working solution, but nothing works.

Right now, I have XBMC menu sounds and audio in my videos working. But I cannot get ZSNES to play sounds. My asound.conf is:
Code:
pcm.!default {
        type plug
        slave {
            pcm "hw:1,3"
        }
}

Audio Output and passthrough set to HDA Nvidia HDMI.

The only thing that gets me sounds in ZSNES are replacing my asound.conf with the "remap-surround71" version:
Code:
pcm.!hdmi-remap {
type asym
playback.pcm {
type plug
slave.pcm "remap-surround71"
}
}

pcm.!remap-surround71 {
  type route
  slave.pcm "hw:1,3"
  ttable {
    0.0= 1
    1.1= 1
    2.4= 1
    3.5= 1
    4.2= 1
    5.3= 1
    6.6= 1
    7.7= 1
  }
}

And this as my .asoundrc:
Code:
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:1,3"
rate 48000
channels 2
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}

pcm.!default {
type plug
slave.pcm "dmixer"
}
And replacing HDA-Intel.conf with the one found here. I don't really know anything about alsa, but it looks like .asoundrc runs all audio through some mixer of some sort, and HDA-Intel.conf + asound.conf uses some 7.1 mapping.

Now, this actually gets my zsnes to work properly, and everything else works properly except for anything using AC3/Dolby Digital, which products a loud screeching static noise. I feel like this has something to do with the 7.1 mapping, but I really have no idea. I reverted everything back, because frankly AC3 audio is way more important than classic gaming.

Please, can someone help me figure out just what these alsa configuration files are describing? I can't find any documentation on what "ttable" means. Why is the remapping even necessary? Why doesn't ZSNES even work in the first place without all these hacks?

I'm running XBMC Live 10.1 on a Giada Slim-N20. This is an ION2 machine.