diff options
| author | 2023-08-31 15:09:15 +0100 | |
|---|---|---|
| committer | 2023-09-04 17:12:16 +0100 | |
| commit | ebd19dec99d9809a669f63294745d7c8facc6d31 (patch) | |
| tree | cd1f34cac0c091c2ffd16c429ac33b8fe133e06e /src/audio_core/renderer/splitter | |
| parent | Merge pull request #11420 from t895/long-install-fix (diff) | |
| download | yuzu-ebd19dec99d9809a669f63294745d7c8facc6d31.tar.gz yuzu-ebd19dec99d9809a669f63294745d7c8facc6d31.tar.xz yuzu-ebd19dec99d9809a669f63294745d7c8facc6d31.zip | |
Rework ADSP into a wrapper for apps
Diffstat (limited to 'src/audio_core/renderer/splitter')
6 files changed, 12 insertions, 12 deletions
diff --git a/src/audio_core/renderer/splitter/splitter_context.cpp b/src/audio_core/renderer/splitter/splitter_context.cpp index 7a23ba43f..686150ea6 100644 --- a/src/audio_core/renderer/splitter/splitter_context.cpp +++ b/src/audio_core/renderer/splitter/splitter_context.cpp | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | #include "audio_core/renderer/splitter/splitter_context.h" | 7 | #include "audio_core/renderer/splitter/splitter_context.h" |
| 8 | #include "common/alignment.h" | 8 | #include "common/alignment.h" |
| 9 | 9 | ||
| 10 | namespace AudioCore::AudioRenderer { | 10 | namespace AudioCore::Renderer { |
| 11 | 11 | ||
| 12 | SplitterDestinationData* SplitterContext::GetDesintationData(const s32 splitter_id, | 12 | SplitterDestinationData* SplitterContext::GetDesintationData(const s32 splitter_id, |
| 13 | const s32 destination_id) { | 13 | const s32 destination_id) { |
| @@ -214,4 +214,4 @@ u64 SplitterContext::CalcWorkBufferSize(const BehaviorInfo& behavior, | |||
| 214 | return size; | 214 | return size; |
| 215 | } | 215 | } |
| 216 | 216 | ||
| 217 | } // namespace AudioCore::AudioRenderer | 217 | } // namespace AudioCore::Renderer |
diff --git a/src/audio_core/renderer/splitter/splitter_context.h b/src/audio_core/renderer/splitter/splitter_context.h index 1a63db1d3..556e6dcc3 100644 --- a/src/audio_core/renderer/splitter/splitter_context.h +++ b/src/audio_core/renderer/splitter/splitter_context.h | |||
| @@ -13,7 +13,7 @@ namespace AudioCore { | |||
| 13 | struct AudioRendererParameterInternal; | 13 | struct AudioRendererParameterInternal; |
| 14 | class WorkbufferAllocator; | 14 | class WorkbufferAllocator; |
| 15 | 15 | ||
| 16 | namespace AudioRenderer { | 16 | namespace Renderer { |
| 17 | class BehaviorInfo; | 17 | class BehaviorInfo; |
| 18 | 18 | ||
| 19 | /** | 19 | /** |
| @@ -185,5 +185,5 @@ private: | |||
| 185 | bool splitter_bug_fixed{}; | 185 | bool splitter_bug_fixed{}; |
| 186 | }; | 186 | }; |
| 187 | 187 | ||
| 188 | } // namespace AudioRenderer | 188 | } // namespace Renderer |
| 189 | } // namespace AudioCore | 189 | } // namespace AudioCore |
diff --git a/src/audio_core/renderer/splitter/splitter_destinations_data.cpp b/src/audio_core/renderer/splitter/splitter_destinations_data.cpp index b27d44896..5ec37e48e 100644 --- a/src/audio_core/renderer/splitter/splitter_destinations_data.cpp +++ b/src/audio_core/renderer/splitter/splitter_destinations_data.cpp | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | #include "audio_core/renderer/splitter/splitter_destinations_data.h" | 4 | #include "audio_core/renderer/splitter/splitter_destinations_data.h" |
| 5 | 5 | ||
| 6 | namespace AudioCore::AudioRenderer { | 6 | namespace AudioCore::Renderer { |
| 7 | 7 | ||
| 8 | SplitterDestinationData::SplitterDestinationData(const s32 id_) : id{id_} {} | 8 | SplitterDestinationData::SplitterDestinationData(const s32 id_) : id{id_} {} |
| 9 | 9 | ||
| @@ -84,4 +84,4 @@ void SplitterDestinationData::SetNext(SplitterDestinationData* next_) { | |||
| 84 | next = next_; | 84 | next = next_; |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | } // namespace AudioCore::AudioRenderer | 87 | } // namespace AudioCore::Renderer |
diff --git a/src/audio_core/renderer/splitter/splitter_destinations_data.h b/src/audio_core/renderer/splitter/splitter_destinations_data.h index d55ce0ad3..90edfc667 100644 --- a/src/audio_core/renderer/splitter/splitter_destinations_data.h +++ b/src/audio_core/renderer/splitter/splitter_destinations_data.h | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | #include "audio_core/common/common.h" | 9 | #include "audio_core/common/common.h" |
| 10 | #include "common/common_types.h" | 10 | #include "common/common_types.h" |
| 11 | 11 | ||
| 12 | namespace AudioCore::AudioRenderer { | 12 | namespace AudioCore::Renderer { |
| 13 | /** | 13 | /** |
| 14 | * Represents a mixing node, can be connected to a previous and next destination forming a chain | 14 | * Represents a mixing node, can be connected to a previous and next destination forming a chain |
| 15 | * that a certain mix buffer will pass through to output. | 15 | * that a certain mix buffer will pass through to output. |
| @@ -132,4 +132,4 @@ private: | |||
| 132 | bool need_update{}; | 132 | bool need_update{}; |
| 133 | }; | 133 | }; |
| 134 | 134 | ||
| 135 | } // namespace AudioCore::AudioRenderer | 135 | } // namespace AudioCore::Renderer |
diff --git a/src/audio_core/renderer/splitter/splitter_info.cpp b/src/audio_core/renderer/splitter/splitter_info.cpp index 1aee6720b..beb5b7f19 100644 --- a/src/audio_core/renderer/splitter/splitter_info.cpp +++ b/src/audio_core/renderer/splitter/splitter_info.cpp | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | #include "audio_core/renderer/splitter/splitter_info.h" | 4 | #include "audio_core/renderer/splitter/splitter_info.h" |
| 5 | 5 | ||
| 6 | namespace AudioCore::AudioRenderer { | 6 | namespace AudioCore::Renderer { |
| 7 | 7 | ||
| 8 | SplitterInfo::SplitterInfo(const s32 id_) : id{id_} {} | 8 | SplitterInfo::SplitterInfo(const s32 id_) : id{id_} {} |
| 9 | 9 | ||
| @@ -76,4 +76,4 @@ void SplitterInfo::SetDestinations(SplitterDestinationData* destinations_) { | |||
| 76 | destinations = destinations_; | 76 | destinations = destinations_; |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | } // namespace AudioCore::AudioRenderer | 79 | } // namespace AudioCore::Renderer |
diff --git a/src/audio_core/renderer/splitter/splitter_info.h b/src/audio_core/renderer/splitter/splitter_info.h index b0ad01fe0..c1e4c2df1 100644 --- a/src/audio_core/renderer/splitter/splitter_info.h +++ b/src/audio_core/renderer/splitter/splitter_info.h | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | #include "audio_core/renderer/splitter/splitter_destinations_data.h" | 6 | #include "audio_core/renderer/splitter/splitter_destinations_data.h" |
| 7 | #include "common/common_types.h" | 7 | #include "common/common_types.h" |
| 8 | 8 | ||
| 9 | namespace AudioCore::AudioRenderer { | 9 | namespace AudioCore::Renderer { |
| 10 | /** | 10 | /** |
| 11 | * Represents a splitter, wraps multiple output destinations to split an input mix into. | 11 | * Represents a splitter, wraps multiple output destinations to split an input mix into. |
| 12 | */ | 12 | */ |
| @@ -104,4 +104,4 @@ private: | |||
| 104 | u32 channel_count{}; | 104 | u32 channel_count{}; |
| 105 | }; | 105 | }; |
| 106 | 106 | ||
| 107 | } // namespace AudioCore::AudioRenderer | 107 | } // namespace AudioCore::Renderer |