summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_DSP_HLE
AgeCommit message (Collapse)Author
2011-01-28DSP plugin merge - the two DSP plugins are now gone and all the code has ↵hrydgard
been merged into Dolphin. This WILL temporarily break the Linux and MacOSX builds but should be easy to fix. Things left to do: * The UI on the new Audio tab for the LLE/HLE choice is ugly * At times the code still look "plugin-y" and needs cleanup * The two plugins should be merged further. DSPHLE should use the emulated memory etc of DSPLLE as much as possible, so that simply saving the DSPLLE state is enough. This would also bring the possibility of savestate compatibility between the two plugins. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6947 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-27Added "DebugFast" configs to vs2010 projects. Removed solution folders.(vs ↵Jordan Woyak
express doesn't like them) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6931 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-27Various minor fixes to allow building with clang on OS X.Soren Jorvang
Fixes issue 3992. wxWidgets patch at http://trac.wxwidgets.org/ticket/12332 . git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6929 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-27Committing Visual Studio 2010 solution/project files. (not switching from ↵Jordan Woyak
2008 just yet, just making 2010 an option) Still need to add a "DebugFast" config and change optimization settings. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6927 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-18Remove the __APPLE__ workaround for reading config files from a ctor.Soren Jorvang
'#' is a fairly accepted comment character for .ini files along with the more official ';', but '//' isn't. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6872 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-15Make the "IR Sensitivity" slider work on linux. Also clean up the ↵Glenn Rice
appearance of the Audio config dialogs on linux and OSX a bit. It doesn't change the appearance on windows. Mark a couple of strings for translation that were missed before. Update some of the languages from the translators. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6856 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-14Make sure that configuration dialog titles for the plugins are translated ↵Glenn Rice
and a few other missed strings. Initialize locale in each of the plugins on windows so that the plugin configuration dialogs are translated and the translators will get off my back. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6847 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-14dsp cleaningMarko Pusljar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6846 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-12Fix unresolved symbol cpu_info in the DSP plugins on linux.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6827 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-06Added a few translatable strings.Glenn Rice
Added German language translations. Thanks to JackyCola. Added Italian language translations. Thanks to RebuMan. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6763 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-02Audio volume slider support for OS X.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6720 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-05allow gcc to check the format of args being passed to MsgAlert and ↵Shawn Hoffman
GenericLog. Fixed nearly all warnings that arose from this, as well as some preexisting ones (some were actually crashes and/or bugs...) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6522 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-30Fix some linkage issues with the cmake build. This should fix issue 3596.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6497 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-26DSPHLE Should fix Issue 3543mylek4
Restricts 'ssbm' loop detection to PBs with valid loop pred_scale values. Masked coef_idx in the adpcm code so it can't fault on invalid values. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6480 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-18Fix for issue 3507. Compile with old GLEW versions, support user-specified ↵Christian Morales Vega
CFLAGS and link plugins to all the used libs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6441 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-15Changed macro for disallowing copy-ctor and =operator into an inheritable ↵Jordan Woyak
class. Removed IrPointer.ini (no longer used) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6421 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-12DSPHLE: Added an option for 48khz output and supporting upsampling code.mylek4
Games that have higher frequency sounds and music should sound a bit better using 48k. I don't have any games that use DTKMusic so that upsampling code untested. If you get strange sounds only at 48k try toggling dtk music to see if that isolates the problem and let me know. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6383 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-11Remove my DESTDIR hack from the cmake build. It turns out this is built ↵Glenn Rice
into cmake and works in the same way it does with the gnu autotools. Use it in the standard way with "make DESTDIR=/desired/location install". git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6382 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-10Added XAudio2 backend.mylek4
Windows audio backend with lower latency. Audio never glitches on my machine but the number of buffers may be set too aggressively. If you run into problems try turning up NUM_BUFFERS in the h file and leave some feedback. From my tests games seem to prefer filling the buffer with smaller chunks. For this to work the callback that fills the buffer needs to either spin or run async so I went with async. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6371 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-10A couple of changes to the cmake build system.Glenn Rice
First: Added a DESTDIR option for package building. Second: Change the OpenCL setup. On both linux and windows use CLRun. I completely removed the option here. If CLRun works on MacOSX this should be done there as well, and this change implemented in the scons build also. Then we could remove the HAVE_OPENCL and the new USE_CLRUN definitions. Then we will finally have the dynamic detection of opencl set up cross platform. On a side note, it doesn't seem that the program loaded from TextureDecoder.cl compiles or runs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6366 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-08More CMake work:NeoBrainX
- various fixes for using CMake on Windows - support building external SDL, zlib, CLRun, wxWidgets - support using precompiled GLew and WiiUse libs on Windows For what it's worth, I'm not quite sure if I got all the wx files right... Building with MSVC2008 still doesn't work yet, but is a lot closer now. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6361 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-04Okay. Big (possible controversial changes) to the cmake build system.Glenn Rice
I am officially killing the local/global build crap. The "local" build thing should never have existed. There is now only one build that is essentially what the "global" build was before. This is the way a proper build system should work. I will soon write a wiki page to describe how to properly use the cmake build system, and how you can still set things up to get the "local" build from before. However, that type of build should be considered a developer tool, and not the way that dolphin-emu should be built. Briefly, to use cmake now do the following from the toplevel of dolphin's source: mkdir Builddir cd Builddir cmake .. make make install (you may need superuser privileges) Note that the scons build is still building dolphin in the old way. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6341 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-01Add an experimental CMake build system as a possible replacement for SCons. ↵NeoBrainX
Only tested on Linux, should work on OS X and Windows in the future as well though. Some notes about this: - config.h doesn't get written yet, so you'll have to use one generated by SCons - dependency checking isn't really implemented, yet. Just some basic checks for OpenGL or ALSA, we need something more sophisticated though. - the OpenGL plugin fails to load for some reason which I can't debug right now due to the libc debuginfo package version in openSUSE not matching the runtime packages - there's even some support for generating install packages (rpm/deb/.. packages, NSIS installer, etc). It doesn't work properly right now though, since some paths seem to be hardcoded into Dolphin's source - probably lots of other stuff I forgot... Just take a look at all the TODOs in the CMakeLists.txt files for more information ;P Additionally, I added various files to the svn:ignore list. tl;dr: Unless you are a dev or you're building binary packages, this commit shouldn't bother you :P git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6326 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-10-05Fix building with --as-needed.NeoBrainX
Fixes issue 3301. Patch by Christian.Morales.Vega, thanks ;) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6258 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-17Add volume control for the pulse audio backend. Unfortunately that can not ↵Glenn Rice
be done with the pulse-simple api, so I had to switch to the asynchronous pulse api. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6104 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-16Hy, this is my first commit, and i hope it is not bad xD. Ignacio Farias
- First change is for Mixer.cpp, I've just re-added the functionality lost in r4724, so, if you disable audio throttle, games like donkey kong jungle beat, will work properly. - Second change points to a doubt comment on UCode_Zelda_Voice.cpp, where it did not know here PB.NeedsReset came from. Well, the answer is it came from line 03b2 of the dumped Ucode, so when PB.IsBlanck equals to zero, PB.NeedsReset is zero too. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6100 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-05dsp stuff - the same ucode hash under lle and hle now (had to rename couple ↵Marko Pusljar
of dissasms), ucode dumping under hle (debug only), small dsp:read32 change (needed for some homebrew) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6059 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-04dsphle - improved ax/axwii hle ucode switching (needed for Nintendo Puzzle ↵Marko Pusljar
Collection <-> GBA, ...) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6052 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-04Silence gcc warnings about empty statements and out-of-order initializers.Soren Jorvang
Increase ISO properties window size to make room for the new Gecko codes. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6050 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-04small optimization for gba ucode hleShawn Hoffman
hopefully quiet gcc about IUCode ctor... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6049 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-04small scons fixnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6048 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-04I said DEBUG_LOG!!Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6047 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-04allow "swapping" of hle'd ucodesShawn Hoffman
hle the gba ucode git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6046 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-08-03DSP HLEmylek4
* Some fixes to linear interpolation * Adds interpolation to ADPCM samples * Relaxed a volume limit in ADPCM_Vol Fixed: - Frac rolls over one iteration before samplePos advances. Can introduce noise similar to flipping samples (1234 => 1214). Introduced oldFrac to fix this. This isn't as noticeable as it probably should be because of below. - When samplePos doesn't advance it interpolates between two copies of the same sample which actually does nothing. Changed it to always use the current and next sample. - When frac is 0 you should get 100% of yn2 instead of ~99% added a +yn2 to balance it. Other changes: - Added linear interpolation for ADPCM. Sounds like a good idea. - Set ADPCM_Vol to clamp to x8000 instead of x4e20. Some games will play some sounds at x8000 volume anyways since the volume is applied before this. Lower limit can result in quiet music (x4e20) but some loud ambient sounds (0x8000). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6041 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-31Avoid always-true and signed/unsigned comparisons.Soren Jorvang
Make empty while loops a little more obvious with a {} suffix. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6019 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-30Removed the hackery that was being done with the plugin configuration ↵Glenn Rice
dialogs on windows. That was unnecessary and ugly. The HWND type is dead for non windows. Also cleaned up the gui a little. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5999 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-24Some refinements to (r5955+r5962+r5964):Soren Jorvang
Don't rely on trailing /'s in directory names. Destdir only works for global builds. Only tar up global builds if they are in a destdir to avoid SCons eating all available memory indexing /usr. Print current status of shared_foo in 'scons -h'. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5966 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-22Lots more work on making the frame aui stuff functional.Glenn Rice
Also added a DSPCORE_STOP state. The DSP-LLE debugger window segmentation faults if it is openned when a game is not running. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5931 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-20Fix the global build on linux.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5923 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-20Some pathnames are used both by SCons and cpp which can be a bit tricky.Soren Jorvang
Should revisit and make the distinction more explicit. Put the Data and Sys directories under Resources in the OS X app bundle. Construct config.h (now lower-case to avoid confusion with other Config.h instances in the tree) in the root. One tiny step towards a read-only and cross-buildable source tree. Some minor bits of non-Linux Unix portability. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5921 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-19dsphle - small mail protocol fix for zelda light typeMarko Pusljar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5917 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-19Get rid of a number of unnecessary env.Clones.Soren Jorvang
Use SCons' convenient # shorthand for the root of our tree. Also various minor cleanup of SConscripts. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5915 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-19Some work on cleaning up the FrameAui code. Primarily this fixes the ↵Glenn Rice
debugger windows for the audio and video plugins. They are now all subclasses of a wxPanel, instead of a mix of wxFrames and wxDialogs. This makes them work correctly in linux, windows (they really didn't before), and most likely on MacOSX too! git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5913 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-18Committing some cleanups by avindra:NeoBrainX
- fix numerous warnings - make some variables unsigned - remove redundant code and header inclusions - make code more compact in lots of cases Committing some additional changes by myself: - additional header cleanups - cleanup DX11 initialization/shutdown process (hinted at by avindra) - Remove the cgD3D9 stuff from Externals since it's no longer needed git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5903 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-16some more minor optimizations introduced by aavindraa, i only corrected ↵Rodolfo Osvaldo Bogado
evaluation order using some (). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5883 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-16include the MP compiler option, which will allow for faster compiling + some ↵luisr142004
minorly stuff :p git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5882 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-13probable linux build fix, thanks cnu.hrydgard
also remove an unnecessary logging line. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5674 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-11Treat strings from external sources as 8-bit so FromAscii doesn't barf.Soren Jorvang
Ideally we should be more character set aware, but at the moment we use anonymous 7/8-bit strings in too many places. Fix use of AddGrowable{Col,Row}. Any (non-zero) rows/columns must have been created first by adding an item to it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5648 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-10Simplify the SCons build:Soren Jorvang
On OS X, build all code as Objective-C(++). Centralize framework handling. Cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5645 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-09build fixin', warning fixin'.hrydgard
Thanks soren for the macosx fixes, this fixes the windows build and eliminates some warning from the same. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5643 8ced0084-cf51-0410-be5f-012b33b47a6e