summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp
AgeCommit message (Collapse)Author
2013-06-22added new license header to missed audio source filesJordan Cristiano
2013-03-19Clean up more space/tab mismatches in AudioCommon, Common, and VideoCommon.lioncash
Not planning to touch Core since it's the most actively changed part of the project.
2012-01-01name all audio threads (that I know how to) for debugging, as suggested in ↵nitsuja
response to revision d00b719966ed.
2011-01-31Eliminate some trampoline functions.Jordan Woyak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7015 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-27Forgot about some Linux files using Common::ThreadJordan Woyak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6934 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-27Core/DSPCore: Improve Interpreter address register add/sub, convert topierre
assembler for JIT. Replace JIT ToMask() with a different variant. Remove superfluous zeroWriteBackLog calls(added by me). Core/Common: Don't bother creating a string and calling into a Logs trigger() when there is noone listening. Change AtomicLoadAcquire for gcc to just make the compiler not reorder memory accesses around it instead of doing a full memory barrier, per the comment in the win32 variant. Core/AudioCommon: Fix a use of uninitialized variable inside libalsa. Microbenchmarking results for ToMask variants:(1 000 000 000 iterations): cpu\variant| shifts | bit scan intel mobile C2D@2.5GHz | 5.5s | 4.0s amd athlon64x2@3GHz | 6.1s | 6.4s (including some constant overhead identical to both variants) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6667 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-07-06Implement proper thread naming on linux. This fixes a segmentation fault ↵Glenn Rice
with thte wiimote new configuration dialog when a thread was named without first calling ThreadInit. Also take care of some more eols. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5843 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-21Linux: Better ALSA supportpierre
This removes some bad behaviour, like the audio thread busy waiting inside ALSA code, missing begins of voice samples(due to DSP_HLE code not getting called often enough). Turns out my understanding of ALSA API was lacking. Tested with pulse plugin and directly on my intel-hda/realtek hardware. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5461 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-07Linux: Fix horrible latency when the alsa pulseaudio plugin is involved, see ↵pierre
issue #2651 The fix is asking alsa for a prefered "hardware" buffer size, so alsa does not fall back to pulseaudios offering of ~1 minute. Additionally, alsa busy waits when pulseaudio is used, sw:avail_min is set and hw:buffer_size is small. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5439 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-27AlsaSound: Applied the fix from issue 1689 makes DSP betternakeee
thanks darumo git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4615 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-15Turns out that if one fails to use pkg-config to configure alsa, some other ↵Shawn Hoffman
ancient library gets linked in or something. - TD-Linux git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4424 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15DSP: added automatic alsa test.nakeee
Should fix issue 1403 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4274 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09Linux: Alsa backend for the audio plugins. Didn't succeed in reducing ↵hrydgard
latency though, but hopefully will work better than libao - shouldn't hang weirdly at underruns, I hope, like libao does. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4240 8ced0084-cf51-0410-be5f-012b33b47a6e