summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon
AgeCommit message (Collapse)Author
2014-07-07Revert "Don't add segfault handler in interpreter mode"Pierre Bourdon
2014-07-05enum CPUState: rename CPU_* to STATE_*Tillmann Karras
2014-07-04Reorder class initializer listsTillmann Karras
2014-06-26Merge pull request #259 from magumagu/dtk-rewriteLioncash
DTK rewrite
2014-06-26AudioCommon: restore support for DTK volume setting.magumagu
2014-06-24Remove the 32-bit config platform from the VS solution and projectsLioncash
2014-06-15Audio mixer: fix a couple compiler warnings.magumagu
2014-06-15Audio mixer: remove check for ratio > 1.0.magumagu
The code actually handles this case correctly; the algorithm is linear interpolation between the two closest samples, and the way it is written should work correctly with any ratio.
2014-06-14Rewrite handling of DTK (streaming) audio.magumagu
The primary motivation here is to make sure we submit samples from the CPU thread. This makes sure the timing of related interrupts accurate, and generally keeps the different kinds of audio synchronized. This will also allow improvements to audio dumping functionality. The new code is also more concise because it gets rid of some duplicated audio mixing code.
2014-05-31Revert "DSound: use DSound notifications to produce sound."magumagu
This reverts commit 4990b8910bc0fe5d576f92396f761a79b3f1a7e3. The commit is causing substantial performance issues for the DSound backend which I somehow didn't catch during testing.
2014-05-29Remove the min/max functions in CommonFuncs.Lioncash
The algorithm header has the same functions.
2014-05-23Merge pull request #256 from magumagu/dsound-notifyshuffle2
DSound: use DSound notifications to produce sound.
2014-04-30Add set/get functions for IsFramelimiterTempDisableddegasus
2014-04-30Add a hotkey for disabling the framelimit.degasus
Atm this is hardcoded to '\t'.
2014-04-14Common: Move the Event class to a separate file, and add tests for it. Fix ↵Pierre Bourdon
includes everywhere to match this.
2014-04-09DSound: use DSound notifications to produce sound.magumagu
Pretty straightforward; IDirectSoundNotify lets you register for notifications after a certain amount of sound has played, so use that instead of depending on Update() notifications from the CPU thread. Also, while I'm here, reduce the buffer size by a factor of 4; this seems to reduce the latency, although the difference is sort of subtle.
2014-04-01Replace use of the deprecated mem_fun function with mem_fn.lioncash
2014-03-30Merge pull request #220 from magumagu/audio-handling-cleanup-v2Pierre Bourdon
Audio handling cleanup v2
2014-03-29Move audio handling out of DSP emulation.magumagu
This is good for a couple of reasons: one, it gets rid of duplicated code, and two, DSP emulation shouldn't need to interact with audio in the first place.
2014-03-29Delete AudioCommon::UseJIT().magumagu
2014-03-29Move mixer construction to AudioCommon.cpp.magumagu
2014-03-29Move UDSPControl structure into DSP.h .magumagu
2014-03-29Remove all trailing whitespaces from our codebase.Pierre Bourdon
2014-03-26Delete a bunch of old audio HLE cruft.magumagu
This commit intentionally breaks audio output from HLE Zelda UCode; no other functional change.
2014-03-18Remove usesMixer function from the sound streams.lioncash
This isn't used anywhere in the codebase. Not even the base SoundStream has it as part of its interface.
2014-03-18Mark the audio streams as final.lioncash
These aren't intended to be continually extended.
2014-03-14Kill off some usages of c_str.Lioncash
Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-03-09clang-modernize -add-overrideTillmann Karras
2014-03-09clang-modernize -loop-convertTillmann Karras
and some manual adjustments
2014-02-28Various changes suggested by cppcheckTillmann Karras
- remove unused variables - reduce the scope where it makes sense - correct limits (did you know that strcat()'s last parameter does not include the \0 that is always added?) - set some free()'d pointers to NULL
2014-02-28Fix various warnings reported by clangTillmann Karras
- mostly remove unused variables - rename some generic JIT identifiers
2014-02-20Fix more header sorting issues in AudioCommon/ (now check-includes clean).Pierre Bourdon
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-17Second and final pass of clearing out tabs.Lioncash
2014-02-16Fix some vertical alignmentsLioncash
ie. uses spaces for alignment.
2014-02-13Disable framerate correction for OpenALdegasus
OpenAL itself stretch the time on slowdowns, so the Mixer isn't allowed also to change the rate.
2014-02-11change AI sampling rate based on framelimitdegasus
2014-02-11controll the interpolation frac by the fifo sizedegasus
2014-02-11audiocommon: sync mixer by fifo instead of estimate valuesdegasus
2014-02-11audiocommon: remove 1:1 interpolationdegasus
The usual one is 32->48 khz interpolation. So there is no need in a special 1:1 interpolation only for performance.
2014-02-10Replace all include guard ifdefs with "#pragma once"lioncash
2014-02-07Atomic Stores / Loadsdegasus
2014-02-07Pulseaudio: rewrite the pa backend with the async apidegasus
The default async api allow us to set some latency options. The old one (simple API) was the lazy way to go for usual audio where latency doesn't matter. This also streams audio, so it should be a bit faster then the old one.
2014-02-05Change the modified parameter in the Clamp function to be a pointer.Lioncash
Makes it easier to identify the one being modified.
2014-02-04Introduce a generic clamp function to clean up some similarly duplicated code.Lioncash
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre
2013-12-31Convert all vcxproj files to UNIX line endingsJasper St. Pierre
2013-12-11Minor const-correctness for some functions in FifoPlayer and some ↵Lioncash
AudioCommon headers.