#include <instrument_voice_allocator.hpp>
◆ InstrumentVoiceAllocator()
| pulp::audio::InstrumentVoiceAllocator::InstrumentVoiceAllocator |
( |
| ) |
|
|
default |
◆ active_voice_count()
| std::uint32_t pulp::audio::InstrumentVoiceAllocator::active_voice_count |
( |
| ) |
const |
|
noexcept |
◆ allocated_voice_count()
| std::uint32_t pulp::audio::InstrumentVoiceAllocator::allocated_voice_count |
( |
| ) |
const |
|
noexcept |
◆ finish_voice()
| bool pulp::audio::InstrumentVoiceAllocator::finish_voice |
( |
std::uint32_t | voice_index | ) |
|
|
noexcept |
◆ max_voices()
| std::uint32_t pulp::audio::InstrumentVoiceAllocator::max_voices |
( |
| ) |
const |
|
inlinenoexcept |
◆ prepare()
| bool pulp::audio::InstrumentVoiceAllocator::prepare |
( |
std::uint32_t | max_voices | ) |
|
◆ release_note()
| std::uint32_t pulp::audio::InstrumentVoiceAllocator::release_note |
( |
int | note, |
|
|
std::uint32_t | sample_id = kInvalidSampleId ) |
|
noexcept |
◆ release_voice()
| bool pulp::audio::InstrumentVoiceAllocator::release_voice |
( |
std::uint32_t | voice_index | ) |
|
|
noexcept |
◆ reset()
| void pulp::audio::InstrumentVoiceAllocator::reset |
( |
| ) |
|
|
noexcept |
◆ set_steal_policy()
| void pulp::audio::InstrumentVoiceAllocator::set_steal_policy |
( |
VoiceStealPolicy | policy | ) |
|
|
inlinenoexcept |
◆ set_termination_fade_frames()
| void pulp::audio::InstrumentVoiceAllocator::set_termination_fade_frames |
( |
std::uint32_t | frames | ) |
|
|
inlinenoexcept |
◆ steal_policy()
◆ termination_fade_frames()
| std::uint32_t pulp::audio::InstrumentVoiceAllocator::termination_fade_frames |
( |
| ) |
const |
|
inlinenoexcept |
◆ trigger()
◆ voices()
| std::span< const InstrumentVoice > pulp::audio::InstrumentVoiceAllocator::voices |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: