summaryrefslogtreecommitdiffstats
path: root/src/audio_core (unfollow)
Commit message (Expand)AuthorFilesLines
2022-10-09Choose the SDL audio backend when Cubeb reports too high of a latencyKelebek16-30/+93
2022-10-04common: remove "yuzu:" prefix from thread namesLiam2-2/+2
2022-09-22Do not try to pause core timing from the audio thread when using single-coreKelebek11-2/+7
2022-09-21audio_renderer: Make GetCommandBuffer() take a u32Lioncash2-2/+2
2022-09-21audio_manager: Forward declare result typeLioncash2-1/+3
2022-09-21audio_manager: Remove redundant cast in ThreadFunc()Lioncash1-3/+5
2022-09-21audio_manager: move std::functions in SetOutManager/SetInManagerLioncash1-2/+2
2022-09-21audio_manager: Remove unused forward declarationsLioncash2-10/+0
2022-09-21audio_manager: Remove unused sessions_started member variableLioncash1-2/+0
2022-09-21audio_manager: Remove dependence on system stateLioncash3-10/+4
2022-09-16audio_renderer: Pass command buffer by const referenceLioncash4-4/+4
2022-09-16sink_stream: Mark GetQueueSize as constLioncash1-1/+1
2022-09-16node_states: Mark relevant member functions as constLioncash1-2/+2
2022-09-16i3dl2/reverb: Mark relevant member functions as constLioncash2-4/+4
2022-09-16behavior_info: Mark CopyErrorInfo as constLioncash4-6/+6
2022-09-16audio_device: Mark GetDeviceVolume as constLioncash2-2/+2
2022-09-16audio_render_manager: Mark several functions as constLioncash2-6/+6
2022-09-16audio_in: Mark several functions as constLioncash4-18/+18
2022-09-16audio_out: Mark several functions as constLioncash4-16/+17
2022-09-16audio_buffers: Pass by const-ref in AppendBuffersLioncash3-13/+17
2022-09-16device_session: Convert for loop into ranged for in AppendBuffersLioncash1-5/+5
2022-09-16device_session: Pass arguments by const-ref in relevant functionsLioncash3-7/+7
2022-09-15audio_core: Amend documentation tagsLioncash28-112/+105
2022-09-15audio_device: Mark member functions as const where applicableLioncash2-8/+8
2022-09-15audio_device: Make AudioDeviceName constructor constexprLioncash4-15/+29
2022-09-13compressor: Simplify memset in InitializeCompressorEffectLioncash1-1/+1
2022-09-13compressor: Mark params parameters as constLioncash1-3/+3
2022-09-13compressor: Remove unneeded casts in ApplyCompressorEffectLioncash1-2/+1
2022-09-13Remove pause callbacks from coretimingKelebek112-120/+29
2022-09-12Remove a pragma once from a cpp fileKelebek11-2/+0
2022-09-04Don't stall with nvdecKelebek13-1/+29
2022-09-02Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads.Kelebek122-842/+549
2022-08-12Do some log memes to help perceived volumeKelebek11-0/+3
2022-07-30audio_core: fix -Wuninitialized when compiling with ASanLiam1-4/+4
2022-07-28Avoid depop out of boundsKelebek12-2/+2
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda1-0/+3
2022-07-22Project AndioKelebek1237-7621/+30231
2022-07-10Rework CoreTimingKelebek12-5/+10
2022-06-27core: Replace all instances of ResultCode with Resultgerman775-15/+14
2022-06-14common: Change semantics of UNREACHABLE to unconditionally crashLiam4-7/+7
2022-06-14audio_core: Remove -Werror=unused-parameterMorph1-1/+0
2022-06-14CMakeLists: Make variable shadowing a compile-time errorMorph1-2/+0
2022-05-13command_generator: Use u8 for tap index lutMorph1-8/+8
2022-04-23general: Convert source file copyright comments over to SPDXMorph43-129/+86
2022-04-01audio_core: remove time stretcherAndrea Pappacoda5-131/+3
2022-02-11audio_core: Update current process revisionlat9nq1-1/+3
2022-01-16audio/stream: Adjust volume scale factorgerman771-2/+2
2021-12-05general: Add missing copyright noticesameerj2-0/+8
2021-10-02common/logging: Move Log::Entry declaration to a separate headerameerj3-0/+7
2021-07-08Replace NaN mix volume samples with silence.Kelebek11-0/+9
2021-07-08audio_core: Preserve front channel volume after 6 to 2 downmixKelebek15-75/+81
2021-07-06Support more PCM formats. Fixes Ys IX audio.Kelebek12-18/+51
2021-07-06CMakeLists: Treat -Wsign-compare as an error on GCC/ClangMorph1-3/+0
2021-07-01Fix XC2/VOEZ crashing, add audio looping and a few misc fixesKelebek16-131/+187
2021-06-28general: Make most settings a BasicSettinglat9nq1-1/+2
2021-06-27Decouple audio processing and run at variable rateKelebek12-75/+109
2021-06-25audio_core: common: Bump audio revision to 9.bunnei1-1/+1
2021-06-24Add missing includes (#6521)Chloe1-0/+2
2021-06-22Implement audout GetAudioOutPlayedSampleCountKelebek12-2/+11
2021-06-07Various suggestions by v1993 and lioncashClément Gallet1-10/+6
2021-06-06Add SDL2 audio backendClément Gallet4-0/+211
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph2-2/+2
2021-04-15common: Move settings to common from core.bunnei4-4/+4
2021-02-13revert to std::sin and std::cosChloe Marcec3-6/+6
2021-02-13address issuesChloe Marcec3-22/+25
2021-02-13audren: Implement I3dl2ReverbChloe Marcec8-18/+569
2021-02-02Prevent over scheduling audio events and terminate properly the motion update eventgerman1-1/+8
2021-02-01audren: Disable reverb for the time beingChloe Marcec1-1/+4
2021-01-24audout: FlushAudioOutBuffersChloe Marcec2-0/+11
2021-01-15core: Silence Wclass-memaccess warningsReinUsesLisp1-18/+18
2021-01-15common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINITReinUsesLisp1-3/+3
2020-12-31Make the coding conventions more consistant16-Bit-Dog1-1/+1
2020-12-29hle: service: Acquire and release a lock on requests.bunnei2-15/+6
2020-12-29audio_core: stream: Ensure buffer is valid before release.bunnei1-2/+10
2020-12-05Update cubeb and request a persistent stream sessionVitor Kiguchi1-0/+1
2020-12-03audio_core: Make shadowing and unused parameters errorsLioncash23-139/+147
2020-11-28audio_core: Remove temp_mix_bufferChloe Marcec2-3/+1
2020-11-17Addressed changesChloe Marcec4-10/+13
2020-11-17audren: Make use of nodiscard, rework downmixing, release all buffersChloe Marcec13-102/+194
2020-10-21core: Fix clang build pt.2Lioncash1-2/+5
2020-10-21Revert "core: Fix clang build"bunnei14-215/+169
2020-10-18core: Fix clang buildLioncash14-169/+215
2020-10-13audio_core/CMakeLists: Make warnings consistent with coreLioncash6-8/+17
2020-09-26command_generator: Make lookup table static constexprLioncash1-2/+3
2020-09-25behavior_info: Fix typo Renerer -> RendererLioncash2-6/+6
2020-09-25cubeb_sink: Use static_cast instead of reinterpret_cast in DataCallback()Lioncash1-2/+2
2020-09-25codec: Make lookup table static constexprLioncash2-3/+4
2020-09-25audio_core: Remove unnecessary inclusionsLioncash5-7/+2
2020-09-25audio_core: Resolve sign conversion warningsLioncash8-25/+34
2020-09-25effect_context: Make use of explicit where applicableLioncash1-13/+12
2020-09-17audio_core/command_generator: Use const references where applicableLioncash1-10/+11
2020-09-17audio_core/command_generator: Avoid an unnecessary copy in GenerateFinalMixCommand()Lioncash1-1/+1
2020-08-16Preliminary effectsDavid Marcec10-35/+731
2020-08-14Disable biquad filterDavid Marcec1-8/+9
2020-08-14Reworked ADPCM decoder to allow better streamingDavid Marcec2-33/+95
2020-08-13General: Tidy up clang-format warnings part 2Lioncash1-1/+1
2020-08-01mix buffer depoppingDavid Marcec2-30/+101
2020-07-30adpcm streamingDavid Marcec4-27/+32
2020-07-28core_timing: Make use of uintptr_t to represent user_dataLioncash1-3/+4
2020-07-25Fix perf regressionDavid Marcec1-1/+2
2020-07-25Fix stream channel count when outputting to stereoDavid Marcec1-1/+1
2020-07-25Address issuesDavid Marcec8-101/+104
2020-07-25Queue extra mix bufferDavid Marcec1-0/+1
2020-07-25Disable time stretcher for time beingDavid Marcec2-6/+4
2020-07-25audio_core: Apollo Part 1, AudioRenderer refactorDavid Marcec25-641/+4127
2020-07-16core_timing: Make TimedCallback take std::chrono::nanosecondsLioncash2-8/+9
2020-07-16core_timing: Make use of std::chrono with ScheduleEventLioncash2-12/+8
2020-07-10configuration: implement per-game configurations (#4098)lat9nq2-4/+5
2020-07-01Don't handle cycles late if stretcher is activeDavid Marcec1-1/+3
2020-07-01audio: Improving audio timing for multicore/single coreDavid Marcec2-20/+7
2020-06-27Audio: Correct buffer release for host timing.Fernando Sahmkow2-1/+17
2020-06-27AudioCore: Use nanoseconds instead of cycles for buffer time.Fernando Sahmkow2-6/+6
2020-06-26Add a "Mute Audio" hotkeyKewlan1-1/+1
2020-06-13audren: Implement RendererInfoDavid Marcec2-6/+26
2020-05-11fix logic error & scale sample volume based on voice volumeDavid Marcec1-7/+9
2020-05-11pass by const ref insteadDavid Marcec1-8/+7
2020-05-11audio_renderer: Better voice mixing and 6 channel downmixingDavid Marcec3-11/+96
2020-04-21audio_renderer: Preliminary BehaviorInfo (#3736)David6-11/+242
2020-04-17core: memory: Move to Core::Memory namespace.bunnei2-10/+11
2020-03-23audio_core: Accept Audren REV8FearlessTobi1-1/+1
2020-03-08cubeb_sink: Don't discard other channels when performing downmixingFearlessTobi1-3/+17
2020-02-23audio_core: interpolate: Improvements to fix audio crackling.bunnei2-23/+38
2020-02-22audio_core: interpolate: Fix include for climits (Linux build break).bunnei1-1/+1
2020-01-24audio_core: Switch to a faster interpolation techniqueFearlessTobi2-48/+159
2019-11-27core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory classLioncash1-8/+9
2019-11-27core: Prepare various classes for memory read/write migrationLioncash2-13/+21
2019-11-27core_timing: Use better reference tracking for EventType. (#3159)bunnei2-13/+14
2019-11-25kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei2-4/+3
2019-09-21Used revision 5 instead of 7, marked constexpr as staticDavid Marcec1-2/+2
2019-09-20Added frame_count for REV7 audio rendererDavid Marcec2-11/+24
2019-07-12Clang formatDavid Marcec2-2/+4
2019-07-12Addressed issuesDavid Marcec2-2/+2
2019-07-12"AudioRenderer" thread should have a unique nameDavid Marcec2-3/+4
2019-07-08addressed issueDavid Marcec1-1/+1
2019-07-01audren: Only manage wave buffers with a sizeDavid Marcec1-3/+5
2019-06-16Core_Timing: Make core_timing threadsafe by default.Fernando Sahmkow1-1/+1
2019-06-16CleanupDavid Marcec1-1/+1
2019-06-16Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & Partial impl of GetAccumulatedSuspendedTickChangedEventDavid Marcec2-3/+14
2019-06-05core/core_timing_util: Use std::chrono types for specifying time unitsLioncash1-1/+3
2019-03-24core/core_timing: Make callback parameters consistentLioncash1-1/+1
2019-03-10audio_core/cubeb_sink: Convert _MSC_VER ifdefs to _WIN32Lioncash2-4/+4
2019-02-27audio_core/cubeb_sink: Ensure COM is initialized on Windows prior to calling cubeb_initLioncash2-0/+19
2019-02-27audio_core/audio_renderer: Name previously unknown parameters of AudioRendererParameterLioncash1-6/+8
2019-02-25audio_core/cubeb_sink: Initialize CubebSinkStream's last_frame data memberLioncash1-1/+1
2019-02-25audio_core/cubeb_sink: Add override specifier to destructorLioncash1-1/+1
2019-02-25audio_core/cubeb_sink: Resolve variable shadowing warnings in SamplesInQueueLioncash1-2/+2
2019-02-25audio_core/codec: Resolve truncation warnings within DecodeADPCMLioncash1-2/+2
2019-02-16audio_core/buffer: Make const and non-const getter for samples consistentLioncash2-2/+2
2019-02-16core_timing: Convert core timing into a classLioncash6-17/+28
2019-02-12core_timing: Rename CoreTiming namespace to Core::TimingLioncash2-14/+15
2019-01-26dsp_interface: fix sound being played while volume is 0fearlessTobi1-1/+1
2019-01-14audio_core: remove unnecessary spaces on commentsOtávio Pace1-2/+2
2018-12-28audio_core: Convert LOG_CRITICAL + UNREACHABLE over to UNIMPLEMENTED/UNIMPLEMENTED_MSGLioncash3-10/+6
2018-12-13audio_core: Make g_sink_details internally linkedLioncash6-32/+55
2018-12-06Avoid (expensive) audio interpolation when sample rates already matchheapo2-4/+8
2018-11-29core: Port all current usages of Event to Readable/WritableEventZach Hilman2-5/+6
2018-11-13audio_core/audio_renderer: Fix typo in AuxInfo member nameLioncash1-1/+1
2018-11-06microprofile: Drop ReleaseActiveBuffer scope.Markus Wick1-4/+0
2018-10-29time_stretch: Switch to values of CitrafearlessTobi1-3/+3
2018-10-27cubeb_sink: ignore null-name device when selectingWeiyi Wang1-1/+2
2018-10-24time_stretch: Remove unused m_channel_count member variableLioncash2-3/+1
2018-10-09EffectOutStatus padding is now in hexDavid Marcec1-1/+1
2018-10-07Fixups for softlockDavid Marcec2-6/+7
2018-10-07Fixed missing returnDavid Marcec1-1/+1
2018-10-07Fixed smo softlockDavid Marcec2-13/+120
2018-09-24stream: Preserve enum class type in GetState()Lioncash4-11/+11
2018-09-23Added audren:u#GetAudioRendererStateDavid Marcec4-0/+13
2018-09-21Logging: Change the TimeStretch::Process log from debug to trace level.Subv1-1/+1
2018-09-17time_stretch: Remove unused <array> includeLioncash1-1/+0
2018-09-17stream: Replace includes with forward declarations where applicableLioncash2-3/+7
2018-09-17audio_renderer: Replace includes with forward declarations where applicableLioncash2-39/+52
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi16-64/+67
2018-09-14cubeb_sink: Get rid of variable shadowing within CubebSink's constructorLioncash1-4/+4
2018-09-14cubeb_sink: Correct context name in ListCubebSinkDevices()Lioncash1-1/+1
2018-09-14audio_core/time_stretch: Silence truncation warnings in Process()Lioncash1-2/+2
2018-09-12audio_core: Flush stream when not playing anythingMerryMage6-0/+23
2018-09-12audio_core/sink_details: Change std::string parameter into std::string_viewLioncash2-2/+4
2018-09-09cubeb_sink: Downsample arbitrary number of channelsMerryMage1-10/+9
2018-09-08cubeb_sink: Perform audio stretchingMerryMage3-24/+26
2018-09-08audio_core: Add audio stretcherMerryMage3-0/+101
2018-09-08cubeb_sink: Hold last available value instead of writing zerosMerryMage1-5/+15
2018-09-08cubeb_sink: Use RingBufferMerryMage1-40/+26
2018-09-08Add audio stretching supportfearlessTobi5-0/+15
2018-09-08audio_renderer: Rename AudioOut instance to audio_outMerryMage2-7/+7
2018-09-04Update microprofile scopes.Markus Wick1-0/+4
2018-08-21audio_core/filter: Add explicit cast to assignment in Process()Lioncash1-1/+1
2018-08-13audio_renderer: samples_remaining counts frames, not samplesMerryMage1-1/+1
2018-08-13audio_core: InterpolateMerryMage5-0/+121
2018-08-13audio_core: Implement low-pass filterMerryMage3-2/+145
2018-08-12cubeb_sink: Protect queue with a mutexMerryMage1-0/+6
2018-08-12Pushed the requested sample rate instead of our fixed sample rateDavid Marcec1-1/+1
2018-08-12Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & GetAudioRendererMixBufferCountDavid Marcec2-1/+16
2018-08-07Make building cubeb optionalKAMiKAZOW1-2/+2
2018-08-05audio_core: Implement audren_u audio playback.bunnei3-0/+442
2018-08-05audio_core: Use s16 where possible for audio samples.bunnei8-33/+24
2018-08-05audio_core: Port codec code from Citra for ADPCM decoding.bunnei3-0/+123
2018-08-04cubeb_sink: Support variable sample_rate and num_channels.bunnei1-15/+25
2018-08-04audio_core: Sinks need unique names as well.bunnei5-9/+14
2018-08-04audio_core: Streams need unique names for CoreTiming.bunnei4-9/+13
2018-08-02audio_out: Use Buffer::Tag alias in GetTagsAndReleaseBuffers()'s prototypeLioncash2-2/+2
2018-08-02sink_details: Deduplicate long std::function repetitionLioncash1-4/+6
2018-08-02sink_details: std::move std::function instancesLioncash1-1/+2
2018-08-01audio_core: Add configuration settings.bunnei2-9/+31
2018-07-31audio_core: Implement Sink and SinkStream interfaces with cubeb.bunnei8-6/+261
2018-07-31audio_core: Add interfaces for Sink and SinkStream.bunnei6-0/+163
2018-07-31audio_core: Misc. improvements to stream/buffer/audio_out.bunnei5-20/+32
2018-07-28audio_core: Add initial code for keeping track of audout state.bunnei6-0/+334
2018-01-13Massive removal of unused modulesJames Rowe26-3017/+0
2018-01-09CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)B3n301-1/+1
2018-01-07audio: Log dropping frames as trace to reduce spam.bunnei1-1/+1
2017-09-30Fixed type conversion ambiguityHuw Pascoe1-1/+1
2017-09-26Audio: Use std::deque instead of std::vector for the audio buffer type (StereoBuffer16).Subv5-7/+9
2017-08-28interpolate: Interpolate on a frame-by-frame basisMerryMage3-88/+74
2017-05-28CMake: Add SoundTouch include path to target propertyYuri Kunde Schlesner1-2/+0
2017-05-28CMake: Define an interface target for SDL2 definitionsYuri Kunde Schlesner1-2/+1
2017-05-28CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner1-3/+4
2017-05-10DSP: Create backing memory for entire DSP RAMYuri Kunde Schlesner4-31/+36
2017-02-27Doxygen: Amend minor issues (#2593)Mat M4-3/+5
2017-01-30Support looping HLE audio (#2422)Jake Merdich2-11/+35
2017-01-27fixed the override warningnoah the goodra1-1/+1
2017-01-26SDL: Select audio device (#2403)Kloen Lansfiel7-18/+69
2016-12-13time_stretch: Add missing #pragma once directiveLioncash1-0/+2
2016-12-11Add all services to the Service namespaceLioncash2-3/+3
2016-12-10audio_core: SelectSink should default to auto if sink_id is invalidMerryMage1-12/+7
2016-11-22Improve verbosity of audio errors with SDL_GetError()freiro1-2/+2
2016-10-20Fix typosRicardo de Almeida Gonzaga2-4/+4
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner9-9/+9
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot23-48/+10
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner13-76/+110
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot24-249/+323
2016-09-07audio_core: Tweak audio latencyMerryMage2-2/+2
2016-09-03codec: Fix ADPCM distortion caused by incorrect nibble orderfincs1-2/+2
2016-08-31audio_core: Add EnableStretching to interface so that one can toggle stretching on and offMerryMage4-9/+52
2016-08-31sink: Change EnqueueSamples to take a pointer to a buffer instead of a std::vectorMerryMage5-9/+9
2016-05-19DSP/HLE: Audio outputMerryMage1-0/+7
2016-05-19DSP/HLE: Implement mixer processingMerryMage5-11/+311
2016-05-15AudioCore: Implement time stretcher (#1737)Maribel4-0/+219
2016-05-09source: Fix missing logging argumentsLioncash1-2/+2
2016-05-07fixup simple type conversions where possibleAlexander Laties2-6/+15
2016-05-07AudioCore: SDL2 SinkMerryMage5-1/+175
2016-05-07HLE: Fix recent DSP change for Visual Studio.bunnei1-4/+2
2016-05-03DSP/HLE: Implement Source processingMerryMage7-5/+496
2016-04-30Audio: Add sink selection to configuration filesMerryMage5-4/+55
2016-04-30AudioCore: List of sink typesMerryMage3-0/+46
2016-04-30AudioCore: Implement NullSinkMerryMage2-0/+30
2016-04-29AudioCore: CurrentRegion() -> ReadRegion(), WriteRegion()MerryMage3-26/+31
2016-04-29AudioCore: Implement interpolationMerryMage3-0/+128
2016-04-28Externals: Add soundtouchMerryMage1-1/+4
2016-04-28AudioCore: Move samples_per_frame and num_sources into hle/common.hMerryMage3-12/+11
2016-04-27AudioCore: Hack to prevent regressions: Trigger Binary pipe interrupt every audio frameMerryMage1-0/+2
2016-04-27DSP_DSP: Updated interrupt implementationMerryMage2-4/+7
2016-04-25DSP/Pipe: There are 8 pipesMerryMage2-13/+19
2016-03-28DSP: Implement audio filters (simple, biquad)MerryMage5-7/+275
2016-03-24DSP: Implement audio codecs (PCM8, PCM16, ADPCM)MerryMage3-0/+174
2016-03-06DSP: Implement Pipe 2MerryMage3-34/+194
2016-02-21AudioCore: Skeleton ImplementationMerryMage8-0/+766