I’m having similar sounding issues with RetroArch Cascades 1_0_0_1 (for BlackBerry 10). Games run perfect speed, extremely fluid and no noticeable sound issues like crackling, garbled audio or stuttering, however when I hook it up to a TV using a Micro HDMI to HDMI cable it’s a different story. The first time I tried using the HDMI output to play, I used the Nestopia core and it was slow, choppy gameplay and garbled and dropping in and out audio from the start. I switched to the FCEUmm core and things were much better, however after a few minutes the same audio issues would come back. I suspected background tasks or the emulator wasn’t running on the highest priority or maybe some aggressive power management going on or just an increased CPU load when using the HDMI output as a potential source of the issue.
At least the NES emulation was playable. I tried the Mednafen core and loaded up my backup of my favourite game, Lords of Thunder and from the intro music it was crackling, stuttering and garbled not to mention the framerate was terrible. I went home and tried it on another TV the next morning. I didn’t reboot my phone or anything. When I started up Lords of Thunder the music sounded fine and the framerate was excellent. Still not quite as silky smooth as on the Z10 screen but it was definitely running at full speed. I thought great, maybe it was just the TV and some synching issues and proceeded to play. After some minutes into the first level the same audio issues returned. One of the issues is a complete dropping out of the audio then coming back in only to drop out again. On this TV the issue was only occurring after a good few minutes of gameplay unlike the one before which had had me wondering if the Z10 may not have been powerful enough to run the game and do HDMI output at the same time. After it ran so well for almost the whole first level on this TV I dismissed that theory of a lack of processing power. I then suspected some power management issues as I noticed that it almost never happened when playing on the touch screen. The touchscreen is noticeably smoother and looks like almost more than 60fps or maybe that’s just how perfectly synched 60fps with little to no noticeable input lag on the Z10 screen seems. In order to test this I used the touchscreen to play instead of my Wii Remote so as to not allow any touchscreen inactivity to trigger off any power saving mode. Well that didn’t do anything.
I tried adjusting all the video settings you suggested and tried all of the different Z10 output resolution options. The output resolution options made no difference but the video settings adjustment did, I just had to figure out which one. I finally concluded that anytime the sound and slowdown issues occurred I could pause the game and press toggle full screen a couple times and it would cause a slight flash on the phone screen and the sound and video would resync and the issue would be gone until the next few minutes until it comes back again. So that’s a workaround until it can be fixed. I really hope it is fixed though. This emu has been like a dream come true for me. A portable console with me at all times that I can play my favourite games at full speed, on a big TV, using a controller!!! Just needs some polish. I’m willing to help in anyway that I can. I’ve noticed some other bugs but I’ll save those for another time and maybe section. Great work to all who have made this possible and thanks!
My hardware is a BlackBerry Z10, Model: STL100-1, Software Release: 10.1.0.2312.