Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-10-29 | time_stretch: Switch to values of Citra | fearlessTobi | 1 | -3/+3 | |
2018-10-27 | cubeb_sink: ignore null-name device when selecting | Weiyi Wang | 1 | -1/+2 | |
We already ignore them on listing devices. We should do the same when selecting devices. This fix a crash when opening a specific device while there is a null device in the list | |||||
2018-10-24 | time_stretch: Remove unused m_channel_count member variable | Lioncash | 2 | -3/+1 | |
This is only stored to, but never read from. | |||||
2018-10-09 | EffectOutStatus padding is now in hex | David Marcec | 1 | -1/+1 | |
2018-10-07 | Fixups for softlock | David Marcec | 2 | -6/+7 | |
2018-10-07 | Fixed missing return | David Marcec | 1 | -1/+1 | |
Softlock explanation: after effects are initialized in smo, nothing actually changes the state. It expects the state to always be initialized. With the previous testing, updating the states much like how we handle the memory pools continue to have the softlock(which is why I said it probably wasn't effects) after further examination it seems like effects need to be initialized but the state remains unchanged until further notice. For now, assertions are added for the aux buffers to see if they update, unable to check as I haven't gotten smo to actually update them yet. | |||||
2018-10-07 | Fixed smo softlock | David Marcec | 2 | -13/+120 | |
2018-09-24 | stream: Preserve enum class type in GetState() | Lioncash | 4 | -11/+11 | |
Preserves the meaning/type-safetiness of the stream state instead of making it an opaque u32. This makes it usable for other things outside of the service HLE context. | |||||
2018-09-23 | Added audren:u#GetAudioRendererState | David Marcec | 4 | -0/+13 | |
2018-09-21 | Logging: Change the TimeStretch::Process log from debug to trace level. | Subv | 1 | -1/+1 | |
This function is called too many times and makes the debug logging basically unusable due to the spam. | |||||
2018-09-17 | time_stretch: Remove unused <array> include | Lioncash | 1 | -1/+0 | |
This isn't used within this header and isn't necessary. | |||||
2018-09-17 | stream: Replace includes with forward declarations where applicable | Lioncash | 2 | -3/+7 | |
Avoids propagating includes in headers where it's not necessary to do so. | |||||
2018-09-17 | audio_renderer: Replace includes with forward declarations where applicable | Lioncash | 2 | -39/+52 | |
Avoids including unnecessary headers within the audio_renderer.h header, lessening the likelihood of needing to rebuild source files including this header if they ever change. Given std::vector allows forward declaring contained types, we can move VoiceState to the cpp file and hide the implementation entirely. | |||||
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 16 | -64/+67 | |
2018-09-14 | cubeb_sink: Get rid of variable shadowing within CubebSink's constructor | Lioncash | 1 | -4/+4 | |
The parameter of the lambda was shadowing the variable that was being assigned to. | |||||
2018-09-14 | cubeb_sink: Correct context name in ListCubebSinkDevices() | Lioncash | 1 | -1/+1 | |
This ain't Citra. | |||||
2018-09-14 | audio_core/time_stretch: Silence truncation warnings in Process() | Lioncash | 1 | -2/+2 | |
The SoundTouch API only accepts uint amount of samples. | |||||
2018-09-12 | audio_core: Flush stream when not playing anything | MerryMage | 6 | -0/+23 | |
2018-09-12 | audio_core/sink_details: Change std::string parameter into std::string_view | Lioncash | 2 | -2/+4 | |
The given string is only ever used for lookup and comparison, so we can just utilize a non-owning view to string data here | |||||
2018-09-09 | cubeb_sink: Downsample arbitrary number of channels | MerryMage | 1 | -10/+9 | |
2018-09-08 | cubeb_sink: Perform audio stretching | MerryMage | 3 | -24/+26 | |
2018-09-08 | audio_core: Add audio stretcher | MerryMage | 3 | -0/+101 | |
2018-09-08 | cubeb_sink: Hold last available value instead of writing zeros | MerryMage | 1 | -5/+15 | |
This reduces clicking in output audio should we underrun. | |||||
2018-09-08 | cubeb_sink: Use RingBuffer | MerryMage | 1 | -40/+26 | |
2018-09-08 | Add audio stretching support | fearlessTobi | 5 | -0/+15 | |
2018-09-08 | audio_renderer: Rename AudioOut instance to audio_out | MerryMage | 2 | -7/+7 | |
2018-09-04 | Update microprofile scopes. | Markus Wick | 1 | -0/+4 | |
Blame the subsystems which deserve the blame :) The updated list is not complete, just the ones I've spotted on random sampling the stack trace. | |||||
2018-08-21 | audio_core/filter: Add explicit cast to assignment in Process() | Lioncash | 1 | -1/+1 | |
Previously this would cause warnings about implicit conversions to s16 from a double | |||||
2018-08-13 | audio_renderer: samples_remaining counts frames, not samples | MerryMage | 1 | -1/+1 | |
2018-08-13 | audio_core: Interpolate | MerryMage | 5 | -0/+121 | |
2018-08-13 | audio_core: Implement low-pass filter | MerryMage | 3 | -2/+145 | |
2018-08-12 | cubeb_sink: Protect queue with a mutex | MerryMage | 1 | -0/+6 | |
2018-08-12 | Pushed the requested sample rate instead of our fixed sample rate | David Marcec | 1 | -1/+1 | |
2018-08-12 | Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & GetAudioRendererMixBufferCount | David Marcec | 2 | -1/+16 | |
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 | |||||
2018-08-07 | Make building cubeb optional | KAMiKAZOW | 1 | -2/+2 | |
2018-08-05 | audio_core: Implement audren_u audio playback. | bunnei | 3 | -0/+442 | |
2018-08-05 | audio_core: Use s16 where possible for audio samples. | bunnei | 8 | -33/+24 | |
2018-08-05 | audio_core: Port codec code from Citra for ADPCM decoding. | bunnei | 3 | -0/+123 | |
2018-08-04 | cubeb_sink: Support variable sample_rate and num_channels. | bunnei | 1 | -15/+25 | |
2018-08-04 | audio_core: Sinks need unique names as well. | bunnei | 5 | -9/+14 | |
2018-08-04 | audio_core: Streams need unique names for CoreTiming. | bunnei | 4 | -9/+13 | |
2018-08-02 | audio_out: Use Buffer::Tag alias in GetTagsAndReleaseBuffers()'s prototype | Lioncash | 2 | -2/+2 | |
This makes the Buffer::Tag usage consistent with the Stream class's prototype of GetTagsAndReleaseBuffers(). | |||||
2018-08-02 | sink_details: Deduplicate long std::function repetition | Lioncash | 1 | -4/+6 | |
We can just use type aliases to avoid needing to write the same long type twice | |||||
2018-08-02 | sink_details: std::move std::function instances | Lioncash | 1 | -1/+2 | |
Given std::function is allowed to potentially allocate, these should be std::move'd to prevent potential reallocation (should that ever happen). | |||||
2018-08-01 | audio_core: Add configuration settings. | bunnei | 2 | -9/+31 | |
2018-07-31 | audio_core: Implement Sink and SinkStream interfaces with cubeb. | bunnei | 8 | -6/+261 | |
2018-07-31 | audio_core: Add interfaces for Sink and SinkStream. | bunnei | 6 | -0/+163 | |
2018-07-31 | audio_core: Misc. improvements to stream/buffer/audio_out. | bunnei | 5 | -20/+32 | |
2018-07-28 | audio_core: Add initial code for keeping track of audout state. | bunnei | 6 | -0/+334 | |
2018-01-13 | Massive removal of unused modules | James Rowe | 26 | -3017/+0 | |
2018-01-09 | CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119) | B3n30 | 1 | -1/+1 | |
* CoreTiming: New CoreTiming; Add Test for CoreTiming | |||||
2018-01-07 | audio: Log dropping frames as trace to reduce spam. | bunnei | 1 | -1/+1 | |
2017-09-30 | Fixed type conversion ambiguity | Huw Pascoe | 1 | -1/+1 | |
2017-09-26 | Audio: Use std::deque instead of std::vector for the audio buffer type (StereoBuffer16). | Subv | 5 | -7/+9 | |
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-28 | interpolate: Interpolate on a frame-by-frame basis | MerryMage | 3 | -88/+74 | |
2017-05-28 | CMake: Add SoundTouch include path to target property | Yuri Kunde Schlesner | 1 | -2/+0 | |
2017-05-28 | CMake: Define an interface target for SDL2 definitions | Yuri Kunde Schlesner | 1 | -2/+1 | |
2017-05-28 | CMake: Correct inter-module dependencies and library visibility | Yuri Kunde Schlesner | 1 | -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. | |||||
2017-05-10 | DSP: Create backing memory for entire DSP RAM | Yuri Kunde Schlesner | 4 | -31/+36 | |
Also move address space mapping out of video_core. | |||||
2017-02-27 | Doxygen: Amend minor issues (#2593) | Mat M | 4 | -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. | |||||
2017-01-30 | Support looping HLE audio (#2422) | Jake Merdich | 2 | -11/+35 | |
* Support looping HLE audio * DSP: Fix dirty bit clears, handle nonmonotonically incrementing IDs * DSP: Add start offset support | |||||
2017-01-27 | fixed the override warning | noah the goodra | 1 | -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; ^ ``` | |||||
2017-01-26 | SDL: Select audio device (#2403) | Kloen Lansfiel | 7 | -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 | |||||
2016-12-13 | time_stretch: Add missing #pragma once directive | Lioncash | 1 | -0/+2 | |
2016-12-11 | Add all services to the Service namespace | Lioncash | 2 | -3/+3 | |
Previously there was a split where some of the services were in the Service namespace and others were not. | |||||
2016-12-10 | audio_core: SelectSink should default to auto if sink_id is invalid | MerryMage | 1 | -12/+7 | |
2016-11-22 | Improve verbosity of audio errors with SDL_GetError() | freiro | 1 | -2/+2 | |
2016-10-20 | Fix typos | Ricardo de Almeida Gonzaga | 2 | -4/+4 | |
2016-09-21 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 9 | -9/+9 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 23 | -48/+10 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 13 | -76/+110 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 24 | -249/+323 | |
2016-09-07 | audio_core: Tweak audio latency | MerryMage | 2 | -2/+2 | |
2016-09-03 | codec: Fix ADPCM distortion caused by incorrect nibble order | fincs | 1 | -2/+2 | |
Closes #2049. Signed-off-by: MerryMage <MerryMage@users.noreply.github.com> | |||||
2016-08-31 | audio_core: Add EnableStretching to interface so that one can toggle stretching on and off | MerryMage | 4 | -9/+52 | |
2016-08-31 | sink: Change EnqueueSamples to take a pointer to a buffer instead of a std::vector | MerryMage | 5 | -9/+9 | |
2016-05-19 | DSP/HLE: Audio output | MerryMage | 1 | -0/+7 | |
2016-05-19 | DSP/HLE: Implement mixer processing | MerryMage | 5 | -11/+311 | |
2016-05-15 | AudioCore: Implement time stretcher (#1737) | Maribel | 4 | -0/+219 | |
* 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-09 | source: Fix missing logging arguments | Lioncash | 1 | -2/+2 | |
Silences two warnings on OSX. | |||||
2016-05-07 | fixup simple type conversions where possible | Alexander Laties | 2 | -6/+15 | |
2016-05-07 | AudioCore: SDL2 Sink | MerryMage | 5 | -1/+175 | |
2016-05-07 | HLE: Fix recent DSP change for Visual Studio. | bunnei | 1 | -4/+2 | |
2016-05-03 | DSP/HLE: Implement Source processing | MerryMage | 7 | -5/+496 | |
2016-04-30 | Audio: Add sink selection to configuration files | MerryMage | 5 | -4/+55 | |
2016-04-30 | AudioCore: List of sink types | MerryMage | 3 | -0/+46 | |
2016-04-30 | AudioCore: Implement NullSink | MerryMage | 2 | -0/+30 | |
2016-04-29 | AudioCore: CurrentRegion() -> ReadRegion(), WriteRegion() | MerryMage | 3 | -26/+31 | |
2016-04-29 | AudioCore: Implement interpolation | MerryMage | 3 | -0/+128 | |
2016-04-28 | Externals: Add soundtouch | MerryMage | 1 | -1/+4 | |
2016-04-28 | AudioCore: Move samples_per_frame and num_sources into hle/common.h | MerryMage | 3 | -12/+11 | |
2016-04-27 | AudioCore: Hack to prevent regressions: Trigger Binary pipe interrupt every audio frame | MerryMage | 1 | -0/+2 | |
2016-04-27 | DSP_DSP: Updated interrupt implementation | MerryMage | 2 | -4/+7 | |
2016-04-25 | DSP/Pipe: There are 8 pipes | MerryMage | 2 | -13/+19 | |
2016-03-28 | DSP: Implement audio filters (simple, biquad) | MerryMage | 5 | -7/+275 | |
2016-03-24 | DSP: Implement audio codecs (PCM8, PCM16, ADPCM) | MerryMage | 3 | -0/+174 | |
2016-03-06 | DSP: Implement Pipe 2 | MerryMage | 3 | -34/+194 | |
Pipe 2 is a DSP pipe that is used to initialize both the DSP hardware (the application signals to the DSP to initialize) and the application (the DSP provides the memory location of structures in the shared memory region). | |||||
2016-02-21 | AudioCore: Skeleton Implementation | MerryMage | 8 | -0/+766 | |
This commit: * Adds a new subproject, audio_core. * Defines structures that exist in DSP shared memory. * Hooks up various other parts of the emulator into audio core. This sets the foundation for a later HLE DSP implementation. |