summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/OpenALStream.cpp
AgeCommit message (Collapse)Author
2010-02-07Fix an issue with OpenAL not properly using the correct Volume on bootsl1nk3.s
Proper fix for issue 1886 as well as a fix to OGL fullscreen code that might fix issue 2095 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5028 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-23Sound System Rework: Phase 2ayuanx
. Performance boost (Completely non-blocking between Sound thread and CPU thread, in the meantime keeping them thread safe) . Both 32KHz & 48KHz sound can be handled properly now (But up-sampling is still not implemented, and I don't think any game requires it.) . Strategy adjustment When your PC is *NOT* capable to run the game at 100%: >> DSound Could yield more fluent sound than OpenAL sometimes, but you will lose the sync between video & audio (since audio is played before video to guarantee fluency) >> OpenAL Ensures video & audio are always sync'ed, but sound could be intermittent(to let slow video catch up) . Changed default frame limit to: Auto (Somehow this can dramatically decrease the chance of wiimote desync in game NSMB) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4724 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-20Added volume control for OpenAL, also improved its performance a bit, but ↵ayuanx
don't expect too much. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4712 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-20Now OpenAL works, at least.ayuanx
But Dolphin's sound stream system really needs a rethink. Because this is the root cause of constant blocking. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4711 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-18Thread safe.ayuanx
PS: The OpenAL is a mess. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4710 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-13Code cleanup, removed extern declaration in sound streamsayuanx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4688 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-12Improved XTra.KrazzY's Mute-On-Pause a bit, so it won't cost any CPU time ↵ayuanx
when it is not used. Revert old Zelda-TP hack, though it really shouldn't be there... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4684 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-10Fixed annoying sound when pausing/shutting down (please test for ALL ↵XTra.KrazzY
backends) (couldn't do this for CoreAudio and PulseAudio too) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4676 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07LUAInterface should have all its functionality now (excluding ↵XTra.KrazzY
input/controller management). Now we need a GUI to see how it works. Added new DSP function: ClearAudioBuffer, which clears the audio buffer for pausing. Currently it doesn't work with DSound. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4507 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28Now ALL copyright dates are fixed to the legally correct year: The year in ↵XTra.KrazzY
which the project began. Now we don't have to change it every year :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15Woops, I had changed this line on accidentSonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3798 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15Commit to allow Interpreter to work on devices that don't support SSE2, just ↵Sonicadvance1
via simple defines git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3797 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07WoopsSonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3703 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07Trying to get Dolphin to compile in Xcode, had to rename the Debugger ↵Sonicadvance1
namespace to something else since the name collided in OS X when using Xcode/Cocoa. Everything compiles except for the GL plugin, and the actual main Dolphin program. Will be trying to get them to compile after sleeping git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3701 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06add *.user, Win32, and x64 build dir to ignore list for DebuggerUICommon and ↵LPFaint99
Unit Tests add *.aps to ignore list for DolphinWX dir add eol-style native to 120 or so files git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3689 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03Misc warning fixes.magumagu9
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3668 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12a NEED DEBUG version of openal sound system, nakee, try to FIX it! :)hyperiris
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3409 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-28Fix compile in OSX by reverting my change, dunno why OpenAL is different on ↵Sonicadvance1
my machine. Bit of debug work in nJoy test git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3100 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24Only have this in OSX since that is only where it compiles apparently?Sonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3061 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24Fix OSX compiling. Still need to rollback nakee's revision 2566 if you want ↵Sonicadvance1
it to link in to a binary though. SMS under my unibody MBP looks like crap, dunno what's wrong git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3059 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07linux compile fixnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2915 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07osx build fixtmator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2912 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-04OpenAL: YES! The first version of working OpenAL Backend!hyperiris
I've only test in Ikaruga and Metroid Prime, at least they have sound. Performance is ugly, :<, still need more work on it. To enable oal in Dolphin, uncomment Source/Core/Common/Src/Common.h: //#define HAVE_OPENAL 1 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2865 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-31really fix building without OAL, and disable it (for time being i guess) on ↵Shawn Hoffman
windows...crazy non-static libs no one wants to deal with git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2811 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30Fixing compile without openalnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2810 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30OpenAL: Minor fixes (someone beat me to the other fixes)XTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2807 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2800 ↵hyperiris
8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30OpenAL: continue work on ithyperiris
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2799 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28fix some OpenAL unresolved symbols on linuxShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2779 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28Some code cleanupomegadox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2768 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-27yeah, start OpenAL sound outputhyperiris
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2764 8ced0084-cf51-0410-be5f-012b33b47a6e