Pulp
1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
audio_input_provider.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
pulp/audio/buffer.hpp
>
4
5
#include <cstddef>
6
7
namespace
pulp::format
{
8
17
struct
AudioInputBusProvider
{
18
using
ReadFn
= bool (*)(
void
*
context
, std::size_t bus_index, std::size_t frame_count,
19
audio::BufferView<const float>
& output)
noexcept
;
20
21
void
*
context
=
nullptr
;
22
ReadFn
read
=
nullptr
;
23
24
explicit
operator
bool() const noexcept {
25
return
context
!=
nullptr
&&
read
!=
nullptr
;
26
}
27
};
28
29
}
// namespace pulp::format
buffer.hpp
pulp::audio::BufferView
Non-owning view over multi-channel audio sample data.
Definition
buffer.hpp:30
pulp::format
What the product grants a device: the quota table indexed by capability tier and live thermal state.
Definition
aax_editor.hpp:31
pulp::format::AudioInputBusProvider
A host-owned, realtime-safe view provider for declared processor input buses.
Definition
audio_input_provider.hpp:17
pulp::format::AudioInputBusProvider::read
ReadFn read
Definition
audio_input_provider.hpp:22
pulp::format::AudioInputBusProvider::context
void * context
Definition
audio_input_provider.hpp:21
pulp::format::AudioInputBusProvider::ReadFn
bool(*)(void *context, std::size_t bus_index, std::size_t frame_count, audio::BufferView< const float > &output) noexcept ReadFn
Definition
audio_input_provider.hpp:18
core
format
include
pulp
format
audio_input_provider.hpp
Generated by
1.15.0