Hi, I'm trying to add pulseaudio support in alsa driver in mednafen. The original code can be found at http://pastebin.com/m6363e635 and my diff is at http://pastebin.com/m7ea780d9, Can somebody comment about how to improve it?, thanks.