aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core
AgeCommit message (Collapse)Author
2018-08-04audio_core: Implement audren_u audio playback.bunnei
2018-08-04audio_core: Use s16 where possible for audio samples.bunnei
2018-08-04audio_core: Port codec code from Citra for ADPCM decoding.bunnei
2018-08-04cubeb_sink: Support variable sample_rate and num_channels.bunnei
2018-08-04audio_core: Sinks need unique names as well.bunnei
2018-08-04audio_core: Streams need unique names for CoreTiming.bunnei
2018-08-03Merge pull request #895 from lioncash/sinkbunnei
sink_details: std::move std::function instances
2018-08-02audio_out: Use Buffer::Tag alias in GetTagsAndReleaseBuffers()'s prototypeLioncash
This makes the Buffer::Tag usage consistent with the Stream class's prototype of GetTagsAndReleaseBuffers().
2018-08-01sink_details: Deduplicate long std::function repetitionLioncash
We can just use type aliases to avoid needing to write the same long type twice
2018-08-01sink_details: std::move std::function instancesLioncash
Given std::function is allowed to potentially allocate, these should be std::move'd to prevent potential reallocation (should that ever happen).
2018-07-31audio_core: Add configuration settings.bunnei
2018-07-30audio_core: Implement Sink and SinkStream interfaces with cubeb.bunnei
2018-07-30audio_core: Add interfaces for Sink and SinkStream.bunnei
2018-07-30audio_core: Misc. improvements to stream/buffer/audio_out.bunnei
2018-07-27audio_core: Add initial code for keeping track of audout state.bunnei
2018-01-12Massive removal of unused modulesJames Rowe
2018-01-08CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)B3n30
* CoreTiming: New CoreTiming; Add Test for CoreTiming
2018-01-07audio: Log dropping frames as trace to reduce spam.bunnei
2017-09-30Fixed type conversion ambiguityHuw Pascoe
2017-09-25Audio: Use std::deque instead of std::vector for the audio buffer type ↵Subv
(StereoBuffer16). The current code inserts and deletes elements from the beginning of the audio buffer, which is very inefficient in an std::vector. Profiling was done using VisualStudio2017's Performance Analyzer in Super Mario 3D Land. Before this change: AudioInterp::Linear had 14.14% of the runtime (inclusive) and most of that time was spent in std::vector's insert implementation. After this change: AudioInterp::Linear has 0.36% of the runtime (inclusive)
2017-08-28interpolate: Interpolate on a frame-by-frame basisMerryMage
2017-05-27CMake: Add SoundTouch include path to target propertyYuri Kunde Schlesner
2017-05-27CMake: Define an interface target for SDL2 definitionsYuri Kunde Schlesner
2017-05-27CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner
Modules didn't correctly define their dependencies before, which relied on the frontends implicitly including every module for linking to succeed. Also changed every target_link_libraries call to specify visibility of dependencies to avoid leaking definitions to dependents when not necessary.
2017-05-09DSP: Create backing memory for entire DSP RAMYuri Kunde Schlesner
Also move address space mapping out of video_core.
2017-02-26Doxygen: Amend minor issues (#2593)Mat M
Corrects a few issues with regards to Doxygen documentation, for example: - Incorrect parameter referencing. - Missing @param tags. - Typos in @param tags. and a few minor other issues.
2017-01-29Support looping HLE audio (#2422)Jake Merdich
* Support looping HLE audio * DSP: Fix dirty bit clears, handle nonmonotonically incrementing IDs * DSP: Add start offset support
2017-01-27fixed the override warningnoah the goodra
``` In file included from citra/src/audio_core/sink_details.cpp:11: citra/src/./audio_core/sdl2_sink.h:25:10: warning: 'SetDevice' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] void SetDevice(int device_id); ^ citra/src/./audio_core/sink.h:39:18: note: overridden virtual function is here virtual void SetDevice(int device_id) = 0; ^ ```
2017-01-25SDL: Select audio device (#2403)Kloen Lansfiel
* Initial Commit Added Device logic to Sinks Started on UI for selecting devices Removed redundant import * Audio Core: Complete Device Switching Complete the device switching implementation by allowing the output device to be loaded, changed and saved through the configurations menu. Worked with the Sink abstraction and tuned the "Device Selection" configuration so that the Device List is automatically populated when the Sink is changed. This hopefully addresses the concerns and recommendations mentioned in the comments of the PR. * Clean original implementation. * Refactor GetSinkDetails
2016-12-12time_stretch: Add missing #pragma once directiveLioncash
2016-12-11Add all services to the Service namespaceLioncash
Previously there was a split where some of the services were in the Service namespace and others were not.
2016-12-10audio_core: SelectSink should default to auto if sink_id is invalidMerryMage
2016-11-22Improve verbosity of audio errors with SDL_GetError()freiro
2016-10-20Fix typosRicardo de Almeida Gonzaga
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-09-07audio_core: Tweak audio latencyMerryMage
2016-09-03codec: Fix ADPCM distortion caused by incorrect nibble orderfincs
Closes #2049. Signed-off-by: MerryMage <MerryMage@users.noreply.github.com>
2016-08-31audio_core: Add EnableStretching to interface so that one can toggle ↵MerryMage
stretching on and off
2016-08-31sink: Change EnqueueSamples to take a pointer to a buffer instead of a ↵MerryMage
std::vector
2016-05-19DSP/HLE: Audio outputMerryMage
2016-05-19DSP/HLE: Implement mixer processingMerryMage
2016-05-14AudioCore: Implement time stretcher (#1737)Maribel
* AudioCore: Implement time stretcher * fixup! AudioCore: Implement time stretcher * fixup! fixup! AudioCore: Implement time stretcher * fixup! fixup! fixup! AudioCore: Implement time stretcher * fixup! fixup! fixup! fixup! AudioCore: Implement time stretcher * fixup! fixup! fixup! fixup! fixup! AudioCore: Implement time stretcher
2016-05-09source: Fix missing logging argumentsLioncash
Silences two warnings on OSX.
2016-05-07fixup simple type conversions where possibleAlexander Laties
2016-05-07Merge pull request #1736 from MerryMage/sdl2-sinkbunnei
AudioCore: SDL2 Sink
2016-05-07AudioCore: SDL2 SinkMerryMage
2016-05-07HLE: Fix recent DSP change for Visual Studio.bunnei