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

Immutable, ID-sorted ownership table prepared off the audio thread. More...

#include <audio_renderer.hpp>

Public Member Functions

const DecodedAudioAsset * find (timeline::ItemId id) const noexcept
std::span< const DecodedAudioAsset > assets () const noexcept

Static Public Member Functions

static runtime::Result< std::shared_ptr< const DecodedAudioAssetPool >, AudioRendererError > create (std::vector< DecodedAudioAsset > assets, AudioRendererLimits limits={})
static runtime::Result< DecodedAudioAsset, AudioRendererError > decode_wav (timeline::ItemId id, std::span< const std::uint8_t > bytes, audio::WavDecodeLimits decode_limits={})

Detailed Description

Immutable, ID-sorted ownership table prepared off the audio thread.

Member Function Documentation

◆ assets()

std::span< const DecodedAudioAsset > pulp::playback::DecodedAudioAssetPool::assets ( ) const
inlinenoexcept

◆ create()

runtime::Result< std::shared_ptr< const DecodedAudioAssetPool >, AudioRendererError > pulp::playback::DecodedAudioAssetPool::create ( std::vector< DecodedAudioAsset > assets,
AudioRendererLimits limits = {} )
static

◆ decode_wav()

runtime::Result< DecodedAudioAsset, AudioRendererError > pulp::playback::DecodedAudioAssetPool::decode_wav ( timeline::ItemId id,
std::span< const std::uint8_t > bytes,
audio::WavDecodeLimits decode_limits = {} )
static

◆ find()

const DecodedAudioAsset * pulp::playback::DecodedAudioAssetPool::find ( timeline::ItemId id) const
noexcept

The documentation for this class was generated from the following file: