Fixed-capacity, single-producer/single-consumer audio analysis tap. More...
#include <audio_tap.hpp>
Public Member Functions | |
| bool | prepare (std::uint32_t channels, std::uint64_t capacity_frames) |
| void | release () noexcept |
| void | reset () noexcept |
| std::uint64_t | push (BufferView< const float > source) noexcept |
| std::uint64_t | push (BufferView< float > source) noexcept |
| bool | read (BufferView< float > destination) noexcept |
| std::uint32_t | num_channels () const noexcept |
| std::uint64_t | available_frames () const noexcept |
| PlanarAudioRingBufferStats | stats () const noexcept |
Fixed-capacity, single-producer/single-consumer audio analysis tap.
prepare() is off-RT. push() and drain() are allocation-free afterwards. Overflow is measured and dropped in whole frames, so channels cannot drift.
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |