mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-20 02:37:54 -05:00
Rework ADSP into a wrapper for apps
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user