Commit Graph

38 Commits

Author SHA1 Message Date
XTra.KrazzY 7d7e2ec8a8 Added the Zelda UCode preliminary synthesizer. It's far from perfect, but it sounds like the exact pitch it should synth. I'd be glad if someone finished it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3630 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 18:05:54 +00:00
luigi2us c9cc3c355d Try to (re-)implement AFC sound. This is an adaptation of the code I commented out in the PCM16 commit.
For some reason AFC sound is slightly wrong. I don't know if it also happened before, but I'll work on it.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3600 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 18:11:32 +00:00
luigi2us 1aab3252fa Added support for playing PCM16 sounds, looping or non-looping.
It is a bit hacky and may have problems, but now SMG has music.
I'll try to do AFC / ADPCM for next commit.

PS: sorry. lots of stuff from latest commits will be reverted because, when updating, I got serious conflicts and everything was messed up :(
if you want I can help you with reintegrating what was lost.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3570 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 14:22:51 +00:00
hrydgard 8d30e3f3c0 DSP HLE: Break out the ADPCM decoder, add a few comments.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3504 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 10:39:45 +00:00
omegadox 41058700c9 Do not put the PDB, EXP, LIB files in the bin folder, instead put it where the obj files are located.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2849 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 13:44:36 +00:00
hyperiris 94ca9854b8 I wrote a tool to extract the dlls from oalinst.exe.
I hope this can resolve the dll hell problem.

someone help me test?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2835 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-02 14:25:18 +00:00
Shawn Hoffman 12037487e7 add 64bit OpenAL and fix up build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2801 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 15:40:35 +00:00
hyperiris b2ed842e03 append dependence setting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2798 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 14:05:30 +00:00
nakeee fff663e8c7 Attempt to move mixer to audio common, it's a bit more complicated than I expected
so please check I didn't break anything in hle



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2756 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-26 09:29:14 +00:00
Shawn Hoffman 393d477f27 now all build configs link in visual studio again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2746 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-24 04:03:53 +00:00
Shawn Hoffman 29081c204d come cleanup with lle test and misc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2745 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-23 21:19:43 +00:00
omegadox 34c05f8e87 Added project for AudioCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2742 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-23 20:00:12 +00:00
nakeee 07381b9962 Starting audio common
Going to slowly make LLE-testing and HLE use it
(This commit is missing some proj files for windows)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2741 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-23 17:56:37 +00:00
hrydgard d046b55d1b Change a bunch of project settings to reduce the flood of warnings you get when building in debug mode. Tweak bootup logging a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2706 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 22:54:59 +00:00
Shawn Hoffman 2301d072a6 nakee's new logmanager. added a console window for windows builds (prints to parent console on non-win32). also fix some random wxw bugs: main window's position is saved when using debugger, disabling windows from the tools menu are saved settings, some other small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2675 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-18 17:17:58 +00:00
Shawn Hoffman a5e0bdb1ed fix for last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2028 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 01:53:07 +00:00
nakeee 7219bcd4d5 This is a joined work of XK and me on improving the HLE plugin interface.
It allows run time selection of backends (AOSound, DSound and NullSound).
It replaces the DSP_NULL plugin (works even better!)
It also includes improved thread handling on asound, and using some common functions on both
asound and windows.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2027 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 00:57:55 +00:00
Shawn Hoffman 426d868adc how many fixes is this now?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1910 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-18 00:17:42 +00:00
Shawn Hoffman 9cb25d6ba2 get WTL out of dsp_hle
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1902 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 21:42:43 +00:00
John Peterson ae9cfbd8e3 Common: Moved Windows console functions to common
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:28:09 +00:00
hrydgard e450578710 TLB hack plus some project changes. I only get a Konami logo though in MGS. Sonic1, plz fix :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1467 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 22:20:50 +00:00
hrydgard cf2c225b88 Delete about dialog from DSP_HLE plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1262 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 00:06:33 +00:00
John Peterson f1e8b46c6c Added Enable Other Audio option to DSP HLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1233 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 02:53:54 +00:00
John Peterson 8a77ca8189 Made the OpenGL iLog setting changeable from the debugging window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1232 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 01:28:00 +00:00
John Peterson 1184d16864 Fixed Wii Sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1160 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-13 13:45:32 +00:00
hrydgard 8a0fea72e6 More AX Wii work - ax parsing corrected (hopefully), still no sound :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1102 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 18:38:15 +00:00
fires.gc 8e3bd6781e added compile time assertion for _SECURE_SCL=0. It is very important that all libraries are compiled with the same _SECURE_SCL if you want to share STL functions between libraries.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@876 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 12:40:31 +00:00
fires.gc f9bd977ffd some HLE LLE stuff :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@837 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 08:43:50 +00:00
John Peterson 2c78946797 Added a console window to the DSP HLE plugin to more easily see the current parameter block status. TODO: add more presets to show different parameters and add more file logging options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@755 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 10:59:56 +00:00
Shawn Hoffman 6178eae001 made all plugins build with correct names and paths. (windows). for some reason njoy and padsimple don't show that they have been compiled with debugfast in their name, not sure why.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@733 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 01:09:02 +00:00
fires.gc 739c18ff28 all projects should build in windows again...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@726 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 14:07:37 +00:00
John Peterson f2a5fd1973 Some changes to the debugger, added a DSP HLE debugging window. I moved the initialization of DLLdebugger from Core.cpp to the debugging window. (I hope this doesn't break the LLE debugger in any way, or does it have to be started right after LoadPlugin?). Also added a ShowOnStart saved setting to the debugger. And a MainWindow saved setting that set the position and size of the main window when it's started. I may have broken things in the debugger by allowing disabling of for example the Jit window. Please accept my apologies if that is the case.
There's an annoying problem with the DSP HLE wx window that blocks some input and places it in a queue. For example if you have loaded the window and press X on the main window, that action is blocked an placed in some kind of queue and not executed until you have closed the debugging window. This is also why the main Dolphin-Debugger window does not show up until you close the sound window. If someone find a fix to this I guess it could be convenient. There is another way to show the window, m_frame->Show() that is normally supposed to remove this kind of on-focus lock, but in a dll it seemingly breaks because it makes Dllmain call DLL_PROCESS_DETACH immediately after DLL_PROCESS_ATTACH so the window has to be killed or we crash.

Also, otherwise unnecessarily I had to disable the new DSP HLE debug window in Release mode because I could not access the SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() string that I need to start it (if I tried it crashed). Very annoying and strange. I could not access m_strDSPPlugin or m_strVideoPlugin either, but all other values in m_LocalCoreStartupParameter seemed to work fine. I'll have to leave it to someone else to figure out why.

TODO: Later I'll add function to the debugging buttons, currently only update have a function. I'll add some option to show a custom console window (that actually worked better that the wx window to show the current parameters status, it had less flicker on frequent updates). I'll also add some custom log file saving option.

Also, the reason I placed Logging.cpp in its own dir is because I plan to add more files to it. There were problems with some build modes, win32 with debugging crashed on booting a game, I don't know if it's my fault. And I could not build Debug win64 because of some wx linking problem.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@722 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 03:19:23 +00:00
fires.gc 55867c169a update to vs2008
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@664 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 17:09:29 +00:00
masken eafd38f6fb Fixed DebugFast versions of PadSimple and DSP HLE plugins.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@531 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-15 21:38:23 +00:00
fires.gc ace5bb5f4b fixed filenames and descriptions of the DSP HLE plugin (affects debug fast version)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@529 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-15 21:34:40 +00:00
hrydgard f44a06465a Change some project settings. Reorganize the symbol database code, step 1/2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@292 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 15:46:08 +00:00
masken ae5b59747a Turned on Warnings as Errors for all vcprojs. Fixed almost all of the warnings in win32. Added many SVN Ignore settings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@283 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 15:28:24 +00:00
hrydgard aa3fee8c60 Audio system update - HLE plugin submitted, homebrew has sound, and also Mario movies!! (this was very unexpected). This also acts as a frame limiter. Might provide an option to turn it off in the future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@227 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 21:58:07 +00:00