Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::audio::SamplePool Class Reference

#include <sample_pool.hpp>

Public Member Functions

 SamplePool ()=default
bool configure (std::span< const SamplePoolEntry > entries)
void clear () noexcept
std::span< const SamplePoolEntry > entries () const noexcept
bool empty () const noexcept
std::size_t size () const noexcept
SamplePoolResolution resolve (std::uint32_t sample_id) const noexcept

Static Public Member Functions

static bool entry_valid (const SamplePoolEntry &entry) noexcept
static const float * channel_data (const SamplePoolResolution &resolution, std::uint32_t channel) noexcept
static bool populate_channel_ptrs (const SamplePoolResolution &resolution, const float **channel_ptrs, std::size_t channel_capacity) noexcept

Constructor & Destructor Documentation

◆ SamplePool()

pulp::audio::SamplePool::SamplePool ( )
default

Member Function Documentation

◆ channel_data()

const float * pulp::audio::SamplePool::channel_data ( const SamplePoolResolution & resolution,
std::uint32_t channel )
staticnoexcept

◆ clear()

void pulp::audio::SamplePool::clear ( )
noexcept

◆ configure()

bool pulp::audio::SamplePool::configure ( std::span< const SamplePoolEntry > entries)

◆ empty()

bool pulp::audio::SamplePool::empty ( ) const
inlinenoexcept

◆ entries()

std::span< const SamplePoolEntry > pulp::audio::SamplePool::entries ( ) const
inlinenoexcept

◆ entry_valid()

bool pulp::audio::SamplePool::entry_valid ( const SamplePoolEntry & entry)
staticnoexcept

◆ populate_channel_ptrs()

bool pulp::audio::SamplePool::populate_channel_ptrs ( const SamplePoolResolution & resolution,
const float ** channel_ptrs,
std::size_t channel_capacity )
staticnoexcept

◆ resolve()

SamplePoolResolution pulp::audio::SamplePool::resolve ( std::uint32_t sample_id) const
noexcept

◆ size()

std::size_t pulp::audio::SamplePool::size ( ) const
inlinenoexcept

The documentation for this class was generated from the following file:
  • /home/runner/work/pulp/pulp/core/audio/include/pulp/audio/sample_pool.hpp