summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl (follow)
Commit message (Collapse)AuthorAge
* wolf3d: work on rebasing to GPL'd FM OPL emulatorwolf3dFranklin Wei2019-07-02
|
* Wolfenstein 3-D!Franklin Wei2019-07-02
| | | | | | | | | | | | | | | This is a port of wolf4sdl to Rockbox, via my SDL port. It *should* work on pretty much anything with a color display, but I have no idea since I haven't tested it. Place the original data files in /.rockbox/wolf3d/. Surprisingly even sound works (and doesn't sound like crap, either!). TODO (in no particular order): * decide whether or not to merge this (license issues) * flesh out manual entry (screenshots) Change-Id: I64c2ba035e0be7e2f49252f40640641416613439
* sdl: add pointer to wiki for docsFranklin Wei2019-06-16
| | | | Change-Id: I6e87658351f32d3c40d9ca2b635ae2f654fdd3aa
* sdl: prevent simulator build from using pthreadsFranklin Wei2019-06-16
| | | | | | | | The simulator build will pull in the host SDL headers, which we can't filter out easily. A simple workaround is to simply remove the pthread include from our SDL. Change-Id: I09de0f2e85b891aa88958e21426ab450af516e76
* sdl: remove non-rockbox driversFranklin Wei2018-03-12
| | | | | | | We never use any of these other drivers, so having them around just takes up space. Change-Id: Iced812162df1fef3fd55522b7e700acb6c3bcd41
* sdl: clean up audio driverFranklin Wei2018-01-15
| | | | | | | | This prevents a (highly improbable) race condition when exiting, and uses pcm_set_frequency() instead of mixer_set_frequency(), since that seems like the Right Thing to Do (TM). Change-Id: Icb6a4597843215f08b3835490ac63f67c9a04736
* duke3d: bump audio sample rate to 22.1KHzFranklin Wei2018-01-15
| | | | | | Recent optimizations to sound mixing should allow this, up from 16KHz. Change-Id: I0ba5742c934118a3a6505b8dc58578b0cfe8ea77
* duke3d: further optimize audio mixingFranklin Wei2018-01-15
| | | | | | | | | Rather than holding intermediate results as fixed-point, this converts them directly to normal integers (in the range of the PCM sample) while mixing, instead of waiting till the end to perform a separate shifting step. Also, this precalculates some constants in the reverb code. Change-Id: Ie04e444d145bc28ce67eef9ae0ead6d328acf28a
* sdl: correct misleading commentsFranklin Wei2018-01-14
| | | | Change-Id: Ieb33d3fec1e0d834c5e294b79f280959497acb6a
* Use sleep(0) instead of yield() in SDL_WaitAudioMichael Sevakis2018-01-14
| | | | | | | | | This allows CPU load to drop below 100%, which is good for anything that scales frequency and voltage based on CPU load. Also conserves some energy by letting the core go idle if there aren't any available buffers. Change-Id: I9385ac9e030f97010b12eb825875a900463ab0ac
* sdl: fix freeze on startup on PP targetsFranklin Wei2018-01-11
| | | | | | | | | Using the coprocessor was a good idea in theory, but didn't actually work. This moves all SDL threads to the main core, which isn't ideal, but at least works. Additionally, this also adds some good-practice stuff such as setting the default sample rate on exit. Change-Id: If1636b33d439000ec7c4e50f46e8d002708d3121
* duke3d: unregister timer on exitFranklin Wei2018-01-05
| | | | | | This was leading to a crash upon audio playback after running the game. Change-Id: I1e9961da443c21e3eff38bcf9877ffa75a922715
* duke3d: rewrite sound mixing to use fixed-pointFranklin Wei2017-12-26
| | | | | | Gives significant performance improvement on ipod6g. Change-Id: I1e8462bec197acb10e770c796240b5001df52440
* duke3d: use hardware FPU if availableFranklin Wei2017-12-26
| | | | Change-Id: Idd9fad7bc0604a553c282a0f8c663ad44030ecac
* fix red once moreFranklin Wei2017-12-24
| | | | Change-Id: I6290cc6cca468c197656236d3dd31c3f72c53842
* attempt to fix sysfont.h errorsFranklin Wei2017-12-24
| | | | Change-Id: Icc67dc777d3a2269ececbf4fbe34d78d7bd34087
* fix redFranklin Wei2017-12-24
| | | | Change-Id: Ib28cfd9037901c7b8bc9b2960ad2c1c9a1e25a69
* fix redFranklin Wei2017-12-23
| | | | Change-Id: I20f1bd6f0208f6108d68fb59206b09dd9da4f1af
* Port of Duke Nukem 3DFranklin Wei2017-12-23
This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL for Rockbox. Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9