mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 13:55:46 +00:00
Rework ADSP into a wrapper for apps
This commit is contained in:
parent
f6879dce96
commit
de326e42bb
173 changed files with 1059 additions and 1265 deletions
|
@ -4,7 +4,7 @@
|
|||
#include "audio_core/common/feature_support.h"
|
||||
#include "audio_core/renderer/behavior/behavior_info.h"
|
||||
|
||||
namespace AudioCore::AudioRenderer {
|
||||
namespace AudioCore::Renderer {
|
||||
|
||||
BehaviorInfo::BehaviorInfo() : process_revision{CurrentRevision} {}
|
||||
|
||||
|
@ -190,4 +190,4 @@ bool BehaviorInfo::IsI3dl2ReverbChannelMappingChanged() const {
|
|||
return CheckFeatureSupported(SupportTags::I3dl2ReverbChannelMappingChange, user_revision);
|
||||
}
|
||||
|
||||
} // namespace AudioCore::AudioRenderer
|
||||
} // namespace AudioCore::Renderer
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "common/common_types.h"
|
||||
#include "core/hle/service/audio/errors.h"
|
||||
|
||||
namespace AudioCore::AudioRenderer {
|
||||
namespace AudioCore::Renderer {
|
||||
/**
|
||||
* Holds host and user revisions, checks whether render features can be enabled, and reports errors.
|
||||
*/
|
||||
|
@ -264,7 +264,7 @@ public:
|
|||
/**
|
||||
* Check if skipping voice pitch and sample rate conversion is supported.
|
||||
* This speeds up the data source commands by skipping resampling if unwanted.
|
||||
* See AudioCore::AudioRenderer::DecodeFromWaveBuffers
|
||||
* See AudioCore::Renderer::DecodeFromWaveBuffers
|
||||
*
|
||||
* @return True if supported, otherwise false.
|
||||
*/
|
||||
|
@ -273,7 +273,7 @@ public:
|
|||
/**
|
||||
* Check if resetting played sample count at loop points is supported.
|
||||
* This resets the number of samples played in a voice state when a loop point is reached.
|
||||
* See AudioCore::AudioRenderer::DecodeFromWaveBuffers
|
||||
* See AudioCore::Renderer::DecodeFromWaveBuffers
|
||||
*
|
||||
* @return True if supported, otherwise false.
|
||||
*/
|
||||
|
@ -373,4 +373,4 @@ public:
|
|||
u32 error_count{};
|
||||
};
|
||||
|
||||
} // namespace AudioCore::AudioRenderer
|
||||
} // namespace AudioCore::Renderer
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "audio_core/renderer/splitter/splitter_context.h"
|
||||
#include "audio_core/renderer/voice/voice_context.h"
|
||||
|
||||
namespace AudioCore::AudioRenderer {
|
||||
namespace AudioCore::Renderer {
|
||||
|
||||
InfoUpdater::InfoUpdater(std::span<const u8> input_, std::span<u8> output_,
|
||||
const u32 process_handle_, BehaviorInfo& behaviour_)
|
||||
|
@ -536,4 +536,4 @@ Result InfoUpdater::CheckConsumedSize() {
|
|||
return ResultSuccess;
|
||||
}
|
||||
|
||||
} // namespace AudioCore::AudioRenderer
|
||||
} // namespace AudioCore::Renderer
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "common/common_types.h"
|
||||
#include "core/hle/service/audio/errors.h"
|
||||
|
||||
namespace AudioCore::AudioRenderer {
|
||||
namespace AudioCore::Renderer {
|
||||
class BehaviorInfo;
|
||||
class VoiceContext;
|
||||
class MixContext;
|
||||
|
@ -202,4 +202,4 @@ private:
|
|||
BehaviorInfo& behaviour;
|
||||
};
|
||||
|
||||
} // namespace AudioCore::AudioRenderer
|
||||
} // namespace AudioCore::Renderer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue