summaryrefslogtreecommitdiff
path: root/src/audio_core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* audio_core/filter: Add explicit cast to assignment in Process()Gravatar Lioncash2018-08-211-1/+1
| | | | | Previously this would cause warnings about implicit conversions to s16 from a double
* Merge pull request #1033 from MerryMage/interpGravatar bunnei2018-08-137-3/+267
|\ | | | | audio_core: Interpolate
| * audio_renderer: samples_remaining counts frames, not samplesGravatar MerryMage2018-08-131-1/+1
| |
| * audio_core: InterpolateGravatar MerryMage2018-08-135-0/+121
| |
| * audio_core: Implement low-pass filterGravatar MerryMage2018-08-133-2/+145
| |
* | cubeb_sink: Protect queue with a mutexGravatar MerryMage2018-08-121-0/+6
|/
* Pushed the requested sample rate instead of our fixed sample rateGravatar David Marcec2018-08-121-1/+1
|
* Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & ↵Gravatar David Marcec2018-08-122-1/+16
| | | | | | GetAudioRendererMixBufferCount GetAudioRendererSampleRate is set as a "STUB" as a game could check if the sample rate it sent and the sample rate it wants don't match. Just a thought of something which could happen so keeping it as stub for the mean time
* Make building cubeb optionalGravatar KAMiKAZOW2018-08-071-2/+2
|
* audio_core: Implement audren_u audio playback.Gravatar bunnei2018-08-043-0/+442
|
* audio_core: Use s16 where possible for audio samples.Gravatar bunnei2018-08-048-33/+24
|
* audio_core: Port codec code from Citra for ADPCM decoding.Gravatar bunnei2018-08-043-0/+123
|
* cubeb_sink: Support variable sample_rate and num_channels.Gravatar bunnei2018-08-041-15/+25
|
* audio_core: Sinks need unique names as well.Gravatar bunnei2018-08-045-9/+14
|
* audio_core: Streams need unique names for CoreTiming.Gravatar bunnei2018-08-044-9/+13
|
* Merge pull request #895 from lioncash/sinkGravatar bunnei2018-08-031-5/+8
|\ | | | | sink_details: std::move std::function instances
| * sink_details: Deduplicate long std::function repetitionGravatar Lioncash2018-08-011-4/+6
| | | | | | | | | | We can just use type aliases to avoid needing to write the same long type twice
| * sink_details: std::move std::function instancesGravatar Lioncash2018-08-011-1/+2
| | | | | | | | | | Given std::function is allowed to potentially allocate, these should be std::move'd to prevent potential reallocation (should that ever happen).
* | audio_out: Use Buffer::Tag alias in GetTagsAndReleaseBuffers()'s prototypeGravatar Lioncash2018-08-022-2/+2
|/ | | | | This makes the Buffer::Tag usage consistent with the Stream class's prototype of GetTagsAndReleaseBuffers().
* audio_core: Add configuration settings.Gravatar bunnei2018-07-312-9/+31
|
* audio_core: Implement Sink and SinkStream interfaces with cubeb.Gravatar bunnei2018-07-308-6/+261
|
* audio_core: Add interfaces for Sink and SinkStream.Gravatar bunnei2018-07-306-0/+163
|
* audio_core: Misc. improvements to stream/buffer/audio_out.Gravatar bunnei2018-07-305-20/+32
|
* audio_core: Add initial code for keeping track of audout state.Gravatar bunnei2018-07-276-0/+334
|
* Massive removal of unused modulesGravatar James Rowe2018-01-1226-3017/+0
|
* CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)Gravatar B3n302018-01-081-1/+1
| | | | * CoreTiming: New CoreTiming; Add Test for CoreTiming
* audio: Log dropping frames as trace to reduce spam.Gravatar bunnei2018-01-071-1/+1
|
* Fixed type conversion ambiguityGravatar Huw Pascoe2017-09-301-1/+1
|
* Audio: Use std::deque instead of std::vector for the audio buffer type ↵Gravatar Subv2017-09-255-7/+9
| | | | | | | | | | | (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)
* interpolate: Interpolate on a frame-by-frame basisGravatar MerryMage2017-08-283-88/+74
|
* CMake: Add SoundTouch include path to target propertyGravatar Yuri Kunde Schlesner2017-05-271-2/+0
|
* CMake: Define an interface target for SDL2 definitionsGravatar Yuri Kunde Schlesner2017-05-271-2/+1
|
* CMake: Correct inter-module dependencies and library visibilityGravatar Yuri Kunde Schlesner2017-05-271-3/+4
| | | | | | | | | | 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.
* DSP: Create backing memory for entire DSP RAMGravatar Yuri Kunde Schlesner2017-05-094-31/+36
| | | | Also move address space mapping out of video_core.
* Doxygen: Amend minor issues (#2593)Gravatar Mat M2017-02-264-3/+5
| | | | | | | | | 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.
* Support looping HLE audio (#2422)Gravatar Jake Merdich2017-01-292-11/+35
| | | | | * Support looping HLE audio * DSP: Fix dirty bit clears, handle nonmonotonically incrementing IDs * DSP: Add start offset support
* fixed the override warningGravatar noah the goodra2017-01-271-1/+1
| | | | | | | | | | | | ``` 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; ^ ```
* SDL: Select audio device (#2403)Gravatar Kloen Lansfiel2017-01-257-18/+69
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* time_stretch: Add missing #pragma once directiveGravatar Lioncash2016-12-121-0/+2
|
* Add all services to the Service namespaceGravatar Lioncash2016-12-112-3/+3
| | | | | Previously there was a split where some of the services were in the Service namespace and others were not.
* audio_core: SelectSink should default to auto if sink_id is invalidGravatar MerryMage2016-12-101-12/+7
|
* Improve verbosity of audio errors with SDL_GetError()Gravatar freiro2016-11-221-2/+2
|
* Fix typosGravatar Ricardo de Almeida Gonzaga2016-10-202-4/+4
|
* Use negative priorities to avoid special-casing the self-includeGravatar Yuri Kunde Schlesner2016-09-219-9/+9
|
* Remove empty newlines in #include blocks.Gravatar Emmanuel Gil Peyrot2016-09-2123-48/+10
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatGravatar Yuri Kunde Schlesner2016-09-1813-76/+110
|
* Sources: Run clang-format on everything.Gravatar Emmanuel Gil Peyrot2016-09-1824-249/+323
|
* audio_core: Tweak audio latencyGravatar MerryMage2016-09-072-2/+2
|
* codec: Fix ADPCM distortion caused by incorrect nibble orderGravatar fincs2016-09-031-2/+2
| | | | | | Closes #2049. Signed-off-by: MerryMage <MerryMage@users.noreply.github.com>
* audio_core: Add EnableStretching to interface so that one can toggle ↵Gravatar MerryMage2016-08-314-9/+52
| | | | stretching on and off