10#include <switchboard_core/AudioBusFormatArray.hpp>
13#include <switchboard/export.h>
14#include <switchboard_core/AudioBusList.hpp>
16namespace switchboard {
22template <std::
size_t N>
54 std::array<AudioBus, N> buses;
Provides an abstraction around raw audio buffers stored in memory.
Definition AudioBuffer.hpp:22
Holds a list of AudioBus instances and allocates memory on the stack.
Definition AudioBusArray.hpp:23
AudioBusFormatList & getFormat() override
Gets the formats of the audio buses.
uint getNumberOfBuses() const override
Gets the number of audio buses.
AudioBusArray(AudioBuffer< float > &buffer)
Creates an AudioBusArray instance with a single audio bus from an audio buffer.
AudioBusArray()
Creates an AudioBusArray instance.
Definition AudioBusArray.hpp:29
AudioBusArray(AudioBus &audioBus)
Creates an AudioBusArray instance with a single audio bus.
AudioBus & getBus(const uint busIndex) const override
Gets an audio bus by its index.
Represents a stream of audio in one direction.
Definition AudioBus.hpp:22
AudioBusList()=default
Default constructor for AudioBusList.