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

@ -9,7 +9,7 @@
#include "audio_core/renderer/upsampler/upsampler_state.h"
#include "common/common_types.h"
namespace AudioCore::AudioRenderer {
namespace AudioCore::Renderer {
class UpsamplerManager;
/**
@ -32,4 +32,4 @@ struct UpsamplerInfo {
std::array<s16, MaxChannels> inputs{};
};
} // namespace AudioCore::AudioRenderer
} // namespace AudioCore::Renderer

View file

@ -3,7 +3,7 @@
#include "audio_core/renderer/upsampler/upsampler_manager.h"
namespace AudioCore::AudioRenderer {
namespace AudioCore::Renderer {
UpsamplerManager::UpsamplerManager(const u32 count_, std::span<UpsamplerInfo> infos_,
std::span<s32> workbuffer_)
@ -41,4 +41,4 @@ void UpsamplerManager::Free(UpsamplerInfo* info) {
info->enabled = false;
}
} // namespace AudioCore::AudioRenderer
} // namespace AudioCore::Renderer

View file

@ -9,7 +9,7 @@
#include "audio_core/renderer/upsampler/upsampler_info.h"
#include "common/common_types.h"
namespace AudioCore::AudioRenderer {
namespace AudioCore::Renderer {
/**
* Manages and has utility functions for upsampler infos.
*/
@ -42,4 +42,4 @@ private:
std::mutex lock{};
};
} // namespace AudioCore::AudioRenderer
} // namespace AudioCore::Renderer

View file

@ -8,7 +8,7 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
namespace AudioCore::AudioRenderer {
namespace AudioCore::Renderer {
/**
* Upsampling state used by the AudioRenderer across calls.
*/
@ -37,4 +37,4 @@ struct UpsamplerState {
u8 sample_index;
};
} // namespace AudioCore::AudioRenderer
} // namespace AudioCore::Renderer