mirror of
https://github.com/mupen64plus/mupen64plus-oldsvn.git
synced 2025-04-02 10:52:35 -04:00
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. |
||
---|---|---|
.. | ||
Audio_#1.1.h | ||
Audio_#1.2.h | ||
main.c | ||
Makefile | ||
README |
JttL's SDL sound plugin for mupen64 Quick Install: type "make" (without quotes) and copy jttl_audio.so to mupen's plugin directory. Then copy jttl_audio.conf to mupen's root directory. /*************************************************************************** CHANGELOG: 1.4: +Use only standard frequency for higher compatibility +Fast resample algorithm (use only integers) +Slight improvements in buffer management : pausing audio when buffer underrun occur 1.2: +Added possibility to swap channels +Some more optimizations +Calling RomOpen() is not required anymore. Plugin should now follow Zilmar's specs. +Added test functions. +Added support for config file 1.1.1: +Fixed the bug that was causing terrible noise (thanks Law) +Much more debugging data appears now if DEBUG is defined +Few more error checks 1.1: +Audio device is opened now with native byte ordering of the machine. Just for compatibility (thanks Flea). +Fixed possible double freeing bug (thanks Flea) +Optimizations in AiLenChanged +Fixed segmentation fault when changing rom. +Syncronization redone 1.0.1.3: +Smarter versioning. No more betas. +More cleaning up done. +Buffer underrun and overflow messages appear now at stderr (if DEBUG is defined) +Many things are now precalculated (this should bring a small performance boost) +Buffer underrun bug fixed. +Segmentation fault when closing rom fixed (at least I think so) 1.0 beta 2: +Makefile fixed to get rid of annoying warning messages +Cleaned up some old code +Default frequency set to 33600Hz (for Master Quest compatibility) +Better syncronization (needs some work still though) 1.0 beta 1: +First public release ***************************************************************************/ /*************************************************************************** TODO: +GUI for adjusting config file settings ;) ***************************************************************************/ /*************************************************************************** KNOWN BUGS: ***************************************************************************/