Commit graph

14 commits

Author SHA1 Message Date
Scott Gorman
4e0131b0b7 Added the critical_failure flag, if this is set to 1, then the plugin will operate like the 'No Sound' plugin. This event will occur when SDL can not access the soundcard. If the problem is fixed, and emulation is restarted it will recheck SDL. 2008-05-04 22:32:54 +00:00
Richard Goedeken
98d7978c0c KDE4 GUI merge: removed hash marks from files in jttl_audio plugin 2008-04-20 23:23:30 +00:00
James Hood
fb77ce4a11 Removed -g option from jttl_audio cflags. If you pass DBGSYM=1 to make, it'll automatically add -g and not strip the binary of its symbol table. Please use this flag for debug in the future. 2008-04-18 15:29:23 +00:00
Richard Goedeken
461893ebfc Removed RESAMPLE 0 option (no resampling) - no-one would ever want this 2008-04-18 03:57:07 +00:00
Richard Goedeken
2d8be8299c Merged r0177-speed-change branch into trunk 2008-04-17 15:15:41 +00:00
Richard Goedeken
9f10d202be Reverted all changes on trunk from rev 189. The reason why I made a branch was so that you would not commit these things on the trunk. 2008-04-14 11:29:15 +00:00
John Chadwick
ec8445cc55 Attempt 3 at commiting the patches.
THIS PATCH IS PRELIMINARY AND DOES NOT WORK.
It also needs some major cleanup and most plugins are not yet compiling. Going to need any help I can get here, but I'll be working on it.
2008-04-14 04:37:57 +00:00
Richard Goedeken
d8cc1d53b2 Reverted portion of rev 74 changes to jttl_audio in the synchronization code. The newer code caused extreme stuttering on my 64-bit system; I reverted to original code. This needs to be rewritten correctly 2008-04-09 02:39:39 +00:00
Richard Goedeken
eb4b026e8f Moved libsamplerate detection from pre.mk to jttl_audio/Makefile. Added NO_RESAMPLE option to disable samplerate library for building 32-bit binary on 64-bit machine without 32-bit static libs 2008-04-06 17:20:43 +00:00
Richard Goedeken
179dfa85cb Fixed a bunch of miscellaneous warnings found on a Gentoo 64-bit system with GCC 4.1.2 2008-04-06 16:58:28 +00:00
Richard Goedeken
5f32c254fe Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
John Chadwick
de0d7719df Only a few files in this modification, but still some quite large changes. Very sorry if this patch messes anything up, I tested for a very long time to make sure nothing could go wrong. If libsamplerate is not found, JTTL Audio should compile fine without it (it had when I tested it)
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.
2008-03-30 20:21:11 +00:00
James Hood
e81f213c6f -Created config/ dir and moved all config files to it.
-Modified Makefile so 'make install' will copy default config files to install dir
-Modified gui_gtk/rombrowser.c so rombrowser.cache file is saved to user config dir.
-Modified main/main.c so on creation of user config dir ~/.mupen64plus, all config files from install dir are copied to user config dir.
2008-03-17 00:40:43 +00:00
Richard Goedeken
cf8b8ca208 Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00