JTTL's Audio Plugin
- Fixed name output, in some places it was "Sound" before.
- Improved debug output and used Rice Video conventions for printf (the "[plugin name] message" convention)
- Added Libsamplerate support
- Bug fix: Loads configuration before setting frequency (Before the frequency in the config file was not used)
- Added new options, RESAMPLE and TIME_COMPENSATION. Both have options 0-2, see updated jttl_audio.conf for more information.
- Added new resampler (libsamplerate Best Quality SINC resampler), established options for the others (None, and the default, Linear resampling)
- Better GTK Test output.
- Fixed jttl_audio/main.c indentation, because it was indented differently throughout the file. (That will probably make this patch way bigger than it should be. Sorry.)
I will try to do more work on the GUI of JTTL, and maybe add more resampler options. And if anyone can figure out the problem with libresamplerate's resampler causing problems (I'm aware its a memory overflow problem, But I can't quite figure out what to do to fix it, since somehow it manages not to crash anything running, but if I do any of the things that did fix the segfaulting on exit the buffer did not get filled all the way during gameplay. Its an ugly situation and its definitally my fault.) The new resampler is not default, for its problems and its unoptimized nature (I'm not using the streaming APIs of libsamplerate, so it can probably be further optimized.)
Well, Here goes. I'll cross my fingers and hope that nothing was broken in the process of this patch.
-Separated LIRC functions into new lirc.c file so they can be used in gui or nogui build.
-Added pause/continue functionality to LIRC.
-Made it so LIRC commands work while emulation is paused.
-Added wiki page on how to setup LIRC for Mupen64Plus.
-Fixed minor bug with g_EmulationRunning (it was being set to 1 during stopEmulation).
-PREFIX/share/mupen64plus
-same dir as binary
-current working dir
I decided to put CWD last instead of the binary dir because it is the least consistent one. This should solve the Konquerer problem that was reported.
-Added default plugins to mupen64plus.conf file:
-Gfx: ricevideo.so
-Audio: mupen64_audio.so
-Input: blight_input.so
-RSP: mupen64_hle_rsp_azimer.so
These two fixes address the problem of no plugins being selected on first load of mupen64plus.
-Readded --noask functionality (it was lost during gui/nogui merge).
-Added config dialog checkbox to toggle noask setting.
-Fixed problem with too many dialog windows when loading a bad dump or hacked rom.