summaryrefslogtreecommitdiff
path: root/sound.c
AgeCommit message (Collapse)Author
2021-06-27Enable big-endian devices: gc/wiiDavid Guillen Fandos
This patch adds big-endian compatibility in gpsp (in general but only for the interpreter). There's no performance hit for little-endian platforms (should be a no-op) and only add a small overhead in memory accesses for big-endian platforms. Most memory accesses are wrapped with a byteswap instruction and I/O reg accesses are also rewired for proper access (using macros). Video rendering has been fixed to also do byteswaps but there's a couple of games and rendering modes that still seem broken (but they amount to less than 20 games in my tests with 1K ROMs). This also adds build rules and CI for NGC/WII/WIIU (untested)
2021-02-23Small fixes to division by zeroDavid Guillen Fandos
This causes crashes in PSP quite often in many games. Other CPUs might (depending on the processor state) silently return zero or some undefined value. The fix is borrowed from ReGBA's codebase
2014-12-13Turn two functions statictwinaphex
2014-12-12Get rid of unnecessary macros for sound_timer_queue functions - ittwinaphex
is pretty apparent what this does on its face, and a macro is somewhat unnecessary for so few invocations
2014-12-10Style nitstwinaphex
2014-12-10Get rid of unused variable 'audio_buffer_size' to silence another warningtwinaphex
2014-12-10cleanupsaliaspider
2014-12-10implement retro_serialize/unserializealiaspider
2014-12-09Clean up some unused stufftwinaphex
2014-12-09De-macroize render_sample macrostwinaphex
2014-12-09Get rid of gbc_sound_load_wave_ram macrotwinaphex
2014-12-09Simplify gbc_sound_wave_updatetwinaphex
2014-12-09Simplify sound_timer functiontwinaphex
2014-12-09Simplify render_audiotwinaphex
2014-12-09Remove non-libretro code in sound.ctwinaphex
2014-12-09fix soundaliaspider
2014-12-09enable sound ( still broken )aliaspider
2014-12-09video output now works in statically linked builds.aliaspider
core can't be used as a shared library yet due to the dynarec not working when compiled with -fPIC
2014-12-09can compilealiaspider
2014-07-14Get rid of PND_BUILD/RPI_BUILD/POLLUX_BUILD/GIZ_BUILDtwinaphex
2013-03-07raspberry pi portDave
2012-10-06u8/caanoo releasenotaz
2012-10-05make sound reinitablenotaz
this will be used for Caanoo overclocking workaround
2011-09-08tweak sound buffering and timing to better match pandora's refresh.notaz
this also changes how direct sound channels are started and sample step precision is increased to hopefully fix gbc + direct channel desync that has been reported on the forums.
2011-09-06enable -Wall and fix warnings reported by itnotaz
2011-09-04unify non-psp synchronize(), fix a few sound issuesnotaz
..like ignoring real buffer size and not stopping sound thread on exit
2011-09-03get rid of GP2X_BUILD checks where they are not really needednotaz
2009-05-21race condition fix from 2007 (gpsp09-2xb_1)notaz
2009-05-21original source from gpsp09-2xb_src.tar.bz2notaz