Rework ADSP into a wrapper for apps

This commit is contained in:
Kelebek1
2023-08-31 15:09:15 +01:00
parent 5ce41fa213
commit ebd19dec99
173 changed files with 1059 additions and 1265 deletions

View File

@ -7,7 +7,7 @@
#include "audio_core/renderer/splitter/splitter_context.h"
#include "common/alignment.h"
namespace AudioCore::AudioRenderer {
namespace AudioCore::Renderer {
SplitterDestinationData* SplitterContext::GetDesintationData(const s32 splitter_id,
const s32 destination_id) {
@ -214,4 +214,4 @@ u64 SplitterContext::CalcWorkBufferSize(const BehaviorInfo& behavior,
return size;
}
} // namespace AudioCore::AudioRenderer
} // namespace AudioCore::Renderer

View File

@ -13,7 +13,7 @@ namespace AudioCore {
struct AudioRendererParameterInternal;
class WorkbufferAllocator;
namespace AudioRenderer {
namespace Renderer {
class BehaviorInfo;
/**
@ -185,5 +185,5 @@ private:
bool splitter_bug_fixed{};
};
} // namespace AudioRenderer
} // namespace Renderer
} // namespace AudioCore

View File

@ -3,7 +3,7 @@
#include "audio_core/renderer/splitter/splitter_destinations_data.h"
namespace AudioCore::AudioRenderer {
namespace AudioCore::Renderer {
SplitterDestinationData::SplitterDestinationData(const s32 id_) : id{id_} {}
@ -84,4 +84,4 @@ void SplitterDestinationData::SetNext(SplitterDestinationData* next_) {
next = next_;
}
} // namespace AudioCore::AudioRenderer
} // namespace AudioCore::Renderer

View File

@ -9,7 +9,7 @@
#include "audio_core/common/common.h"
#include "common/common_types.h"
namespace AudioCore::AudioRenderer {
namespace AudioCore::Renderer {
/**
* Represents a mixing node, can be connected to a previous and next destination forming a chain
* that a certain mix buffer will pass through to output.
@ -132,4 +132,4 @@ private:
bool need_update{};
};
} // namespace AudioCore::AudioRenderer
} // namespace AudioCore::Renderer

View File

@ -3,7 +3,7 @@
#include "audio_core/renderer/splitter/splitter_info.h"
namespace AudioCore::AudioRenderer {
namespace AudioCore::Renderer {
SplitterInfo::SplitterInfo(const s32 id_) : id{id_} {}
@ -76,4 +76,4 @@ void SplitterInfo::SetDestinations(SplitterDestinationData* destinations_) {
destinations = destinations_;
}
} // namespace AudioCore::AudioRenderer
} // namespace AudioCore::Renderer

View File

@ -6,7 +6,7 @@
#include "audio_core/renderer/splitter/splitter_destinations_data.h"
#include "common/common_types.h"
namespace AudioCore::AudioRenderer {
namespace AudioCore::Renderer {
/**
* Represents a splitter, wraps multiple output destinations to split an input mix into.
*/
@ -104,4 +104,4 @@ private:
u32 channel_count{};
};
} // namespace AudioCore::AudioRenderer
} // namespace AudioCore::Renderer