Rework ADSP into a wrapper for apps
This commit is contained in:
parent
5ce41fa213
commit
ebd19dec99
173 changed files with 1059 additions and 1265 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace AudioCore::AudioRenderer {
|
||||
namespace AudioCore::Renderer {
|
||||
/**
|
||||
* Represents an array of bits used for nodes and edges for the mixing graph.
|
||||
*/
|
||||
|
@ -22,4 +22,4 @@ struct BitArray {
|
|||
u32 size{};
|
||||
};
|
||||
|
||||
} // namespace AudioCore::AudioRenderer
|
||||
} // namespace AudioCore::Renderer
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "audio_core/renderer/nodes/edge_matrix.h"
|
||||
|
||||
namespace AudioCore::AudioRenderer {
|
||||
namespace AudioCore::Renderer {
|
||||
|
||||
void EdgeMatrix::Initialize([[maybe_unused]] std::span<u8> buffer,
|
||||
[[maybe_unused]] const u64 node_buffer_size, const u32 count_) {
|
||||
|
@ -35,4 +35,4 @@ u32 EdgeMatrix::GetNodeCount() const {
|
|||
return count;
|
||||
}
|
||||
|
||||
} // namespace AudioCore::AudioRenderer
|
||||
} // namespace AudioCore::Renderer
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "common/alignment.h"
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace AudioCore::AudioRenderer {
|
||||
namespace AudioCore::Renderer {
|
||||
/**
|
||||
* An edge matrix, holding the connections for each node to every other node in the graph.
|
||||
*/
|
||||
|
@ -79,4 +79,4 @@ private:
|
|||
u32 count;
|
||||
};
|
||||
|
||||
} // namespace AudioCore::AudioRenderer
|
||||
} // namespace AudioCore::Renderer
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "audio_core/renderer/nodes/node_states.h"
|
||||
#include "common/logging/log.h"
|
||||
|
||||
namespace AudioCore::AudioRenderer {
|
||||
namespace AudioCore::Renderer {
|
||||
|
||||
void NodeStates::Initialize(std::span<u8> buffer_, [[maybe_unused]] const u64 node_buffer_size,
|
||||
const u32 count) {
|
||||
|
@ -138,4 +138,4 @@ std::pair<std::span<u32>::reverse_iterator, size_t> NodeStates::GetSortedResuls(
|
|||
return {results.rbegin(), result_pos};
|
||||
}
|
||||
|
||||
} // namespace AudioCore::AudioRenderer
|
||||
} // namespace AudioCore::Renderer
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "common/alignment.h"
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace AudioCore::AudioRenderer {
|
||||
namespace AudioCore::Renderer {
|
||||
/**
|
||||
* Graph utility functions for sorting and getting results from the DAG.
|
||||
*/
|
||||
|
@ -192,4 +192,4 @@ private:
|
|||
Stack stack{};
|
||||
};
|
||||
|
||||
} // namespace AudioCore::AudioRenderer
|
||||
} // namespace AudioCore::Renderer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue