Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::audio::SampleStreamCommandInbox< Capacity > Class Template Reference

Prepared bounded command port from one RT producer to the service owner. More...

#include <sample_stream_service.hpp>

Public Member Functions

SampleStreamCommandPushStatus demand_page (const SampleStreamPageDemand &demand) noexcept
SampleStreamCommandPushStatus cancel_requester (SampleStreamRequesterToken requester) noexcept
SampleStreamCommandPushStatus cancel_pending_source_demands (SampleStreamSourceToken source) noexcept
SampleStreamCommandInboxTelemetry telemetry () const noexcept

Static Public Member Functions

static constexpr std::size_t capacity () noexcept

Friends

class SampleStreamCacheService

Detailed Description

template<std::size_t Capacity>
class pulp::audio::SampleStreamCommandInbox< Capacity >

Prepared bounded command port from one RT producer to the service owner.

Construct the inbox off the audio thread; subsequent command pushes are fixed-storage SPSC operations with no dynamic payload ownership.

Member Function Documentation

◆ cancel_pending_source_demands()

template<std::size_t Capacity>
SampleStreamCommandPushStatus pulp::audio::SampleStreamCommandInbox< Capacity >::cancel_pending_source_demands ( SampleStreamSourceToken source)
inlinenoexcept

◆ cancel_requester()

template<std::size_t Capacity>
SampleStreamCommandPushStatus pulp::audio::SampleStreamCommandInbox< Capacity >::cancel_requester ( SampleStreamRequesterToken requester)
inlinenoexcept

◆ capacity()

template<std::size_t Capacity>
constexpr std::size_t pulp::audio::SampleStreamCommandInbox< Capacity >::capacity ( )
inlinestaticconstexprnoexcept

◆ demand_page()

template<std::size_t Capacity>
SampleStreamCommandPushStatus pulp::audio::SampleStreamCommandInbox< Capacity >::demand_page ( const SampleStreamPageDemand & demand)
inlinenoexcept

◆ telemetry()

template<std::size_t Capacity>
SampleStreamCommandInboxTelemetry pulp::audio::SampleStreamCommandInbox< Capacity >::telemetry ( ) const
inlinenoexcept

◆ SampleStreamCacheService

template<std::size_t Capacity>
friend class SampleStreamCacheService
friend

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