Genesis-Plus-GX icon indicating copy to clipboard operation
Genesis-Plus-GX copied to clipboard

sound/music bugs

Open sonicpm opened this issue 8 years ago • 9 comments

Hi, i've just tested genesis emulator on vita, its working well, but i experience some sounds hickups, or saturation sometime. Did you experience the same ?

Cheers

sonicpm avatar Aug 14 '16 14:08 sonicpm

Sound issues are caused by a minor logic issue in the code. There seems to be assumption the number of audio samples being generated by the emulation code match the number of samples being requested by the Vita audio library. Easy to fix - just look at he emumain.c file in the RunEmulator() and AudioCallback() functions. Just need to add logic to wrap the input into and out of the audio buffer.

Reesy1979 avatar Sep 18 '16 17:09 Reesy1979

Please, could you specify more? Thanks a lot!

swattx avatar Sep 21 '16 15:09 swattx

https://github.com/Reesy1979/Genesis-Plus-GX I added my changes here, my build runs audio fine ( as long a vsync disabled - seems to conflict )

Reesy1979 avatar Sep 22 '16 20:09 Reesy1979

Stuck a build in URL below https://sites.google.com/site/reesyemulation/genesisplusgx

Reesy1979 avatar Sep 22 '16 21:09 Reesy1979

Thank you!

swattx avatar Sep 23 '16 10:09 swattx

@Reesy1979 Thank you for your build! Any thoughts why the GUI got distorted?

Tried to compile the original build with your changes but I'm a total noob.

habieru007 avatar Mar 10 '18 23:03 habieru007

Hello everyone. How do I solve so that the sound is not so defective in some moments. Please help

lineacero avatar Jun 17 '18 21:06 lineacero

@Reesy1979 Thank you for your build! Any thoughts why the GUI got distorted?

lineacero avatar Nov 01 '18 03:11 lineacero

hi How do I fix so that the sound is not so buggy in some moments. Please help please ,, does anyone have the link in vpk, zip ,, sound good sound, minor logic problem in code?please help sound error

lineacero avatar Nov 27 '20 15:11 lineacero