dolphin/Source/Core/AudioCommon/Src
skidau 0a4272c96b Merge branch 'OpenAL'
* OpenAL:
  Changed SoundTouch to use float samples, allowing SSE to be used. Made the DPL2 decoder disabled by default. Re-added the audio hack used by the Accurate VBeam emulation option.
  Added a latency setting to the audio settings. Removed the Sample Rate setting.  It is now hardcoded to 48000hz (accurate audio timing).
  Skipped timestretching if the emulator is running below 10% speed to prevent buffer overflows.
  Removed the synchronisation between the CPU thread and the audio thread. Added code to detect and resume from buffer underruns. Disabled the ability to change the DPL2 option after the game has started. Fixed a memory leak that occurred in the DPL2 decoder. Fixed the OSX build.
  Build fix
  Added a Dolby Pro Logic II (DPL2) decoder in the OpenAL backend.  DPL2 audio is decoded to 5.1.  Code adapted from ffdshow. Added an option in the DSP settings to disable the DPL2 decoder in case Dolphin incorrectly detects a 5.1 audio system. Updated the OpenAL files to OpenAL Soft 1.15.1 in the Windows build.
  Removed the system timing hack which was activated when the Accurate VBeam option was enabled.
  Fixed the include directories in Audio Common for the Windows 32bit build.
  Fixed the include directories in Audio Common for the Windows build.
  Messed up the static include line
  Fix include paths and compiling in Linux. Externals soundtouch is 1.7.1, while Ubuntu 12.10 is 1.6.x. Externals soundtouch is compiled with integer samples, while ubuntu is compiled with float samples. Float samples is probably the more common route. If you're going to use soundtouch, you should probably use SAMPLETYPE instead of explicitly choosing short. This probably breaks the windows build since its includes aren't setup.
  OSX: typedef signed char BOOL
  OSX build fix
  Build fix
  Added audio time stretching by using the SoundTouch library.
  Implemented correct audio timing.
  OpenAL for Windows initial commit
2013-01-15 22:40:12 +11:00
..
aldlist.cpp Compile with OpenAL support on OS X. 2011-12-05 05:49:08 +01:00
aldlist.h add *.user, Win32, and x64 build dir to ignore list for DebuggerUICommon and Unit Tests 2009-07-06 02:10:26 +00:00
AlsaSoundStream.cpp name all audio threads (that I know how to) for debugging, as suggested in response to revision d00b719966. 2012-01-01 14:28:19 -08:00
AlsaSoundStream.h Forgot about some Linux files using Common::Thread 2011-01-27 21:34:37 +00:00
AOSoundStream.cpp name all audio threads (that I know how to) for debugging, as suggested in response to revision d00b719966. 2012-01-01 14:28:19 -08:00
AOSoundStream.h Replaced Common::CriticalSection with a std::mutex implementation. 64bit Windows builds now use SRWLocks and ConditionVariables(requires Vista/7, x64 builds will no longer work on Windows XP x64). Tell me if you hate that. Removed Common::EventEx. Common::Event now uses a std::condition_variable impl.(using ConditionVariables on Windows x64, Events on x86, or posix condition variables elsewhere). I experience slight speed improvements with these changes. 2011-03-05 06:11:26 +00:00
AudioCommon.cpp re-enable PulseAudio backend 2013-01-13 22:22:06 -06:00
AudioCommon.h made savestates synchronous and immediate. this allows saving or loading while the emulator is paused, fixes issues where savestate hotkeys would get ignored if pressed too close together, might speed up savestates in some cases, and hopefully makes savestates more stable too. 2012-05-26 13:09:38 +10:00
AudioCommonConfig.cpp Added a latency setting to the audio settings. 2013-01-13 00:05:30 +11:00
AudioCommonConfig.h Added a latency setting to the audio settings. 2013-01-13 00:05:30 +11:00
CoreAudioSoundStream.cpp (CoreAudio) Retain volume value until initialization. Makes volume slider work when game isn't running. Fixes issue 5383. 2012-12-14 12:15:01 -06:00
CoreAudioSoundStream.h (CoreAudio) Retain volume value until initialization. Makes volume slider work when game isn't running. Fixes issue 5383. 2012-12-14 12:15:01 -06:00
DPL2Decoder.cpp Build fix 2013-01-11 14:20:22 +11:00
DPL2Decoder.h Added a Dolby Pro Logic II (DPL2) decoder in the OpenAL backend. DPL2 audio is decoded to 5.1. Code adapted from ffdshow. 2013-01-11 14:03:09 +11:00
DSoundStream.cpp name all audio threads (that I know how to) for debugging, as suggested in response to revision d00b719966. 2012-01-01 14:28:19 -08:00
DSoundStream.h Replaced Common::CriticalSection with a std::mutex implementation. 64bit Windows builds now use SRWLocks and ConditionVariables(requires Vista/7, x64 builds will no longer work on Windows XP x64). Tell me if you hate that. Removed Common::EventEx. Common::Event now uses a std::condition_variable impl.(using ConditionVariables on Windows x64, Events on x86, or posix condition variables elsewhere). I experience slight speed improvements with these changes. 2011-03-05 06:11:26 +00:00
Mixer.cpp made savestates synchronous and immediate. this allows saving or loading while the emulator is paused, fixes issues where savestate hotkeys would get ignored if pressed too close together, might speed up savestates in some cases, and hopefully makes savestates more stable too. 2012-05-26 13:09:38 +10:00
Mixer.h Added audio time stretching by using the SoundTouch library. 2013-01-09 22:57:32 +11:00
NullSoundStream.cpp Implemented proper timing in the "No audio output" back-end. 2012-07-01 17:07:58 +10:00
NullSoundStream.h Some compiler warnings and eol-style. 2010-11-14 23:56:26 +00:00
OpenALStream.cpp Changed SoundTouch to use float samples, allowing SSE to be used. 2013-01-15 22:29:26 +11:00
OpenALStream.h Added a latency setting to the audio settings. 2013-01-13 00:05:30 +11:00
PulseAudioStream.cpp re-enable PulseAudio backend 2013-01-13 22:22:06 -06:00
PulseAudioStream.h use pulseaudio "simple" api 2013-01-09 17:45:16 -06:00
SoundStream.h made savestates synchronous and immediate. this allows saving or loading while the emulator is paused, fixes issues where savestate hotkeys would get ignored if pressed too close together, might speed up savestates in some cases, and hopefully makes savestates more stable too. 2012-05-26 13:09:38 +10:00
WaveFile.cpp 'count' parameter for AddStereoSamples and AddStereoSamplesBE in WaveFile should be unsigned. Doesn't make sense to have them signed. 2013-01-11 22:22:55 -05:00
WaveFile.h 'count' parameter for AddStereoSamples and AddStereoSamplesBE in WaveFile should be unsigned. Doesn't make sense to have them signed. 2013-01-11 22:22:55 -05:00
XAudio2Stream.cpp A bit of cleanup to Core Init/Stop, Frame, and Main. Cleanup XAudio2 to attempt to fix the crash on stop(didn't help :p). For some reason CFrame::DoStop is called twice.(might be the issue) 2011-03-15 23:09:12 +00:00
XAudio2Stream.h A bit of cleanup to Core Init/Stop, Frame, and Main. Cleanup XAudio2 to attempt to fix the crash on stop(didn't help :p). For some reason CFrame::DoStop is called twice.(might be the issue) 2011-03-15 23:09:12 +00:00