Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
source.hpp File Reference

Audio source hierarchy — abstract bases for streaming audio playback graphs. More...

#include <pulp/audio/buffer.hpp>
#include <cstdint>

Go to the source code of this file.

Classes

class  pulp::audio::AudioSource
 Abstract base — host-callable audio source. More...
class  pulp::audio::PositionableAudioSource
 AudioSource with a notion of position. More...

Namespaces

namespace  pulp
namespace  pulp::audio

Detailed Description

Audio source hierarchy — abstract bases for streaming audio playback graphs.

AudioSource is the minimal interface a host calls per audio block. PositionableAudioSource extends it with frame-level seek and looping.

Concrete sources live in companion headers:

  • format_reader_source.hpp — AudioFormatReaderSource wraps a MemoryMappedAudioReader so a decoded audio file becomes a seekable PositionableAudioSource.
  • transport_source.hpp — AudioTransportSource adds play / stop / gain-ramp control around any PositionableAudioSource.
  • source_player.hpp — AudioSourcePlayer is the bridge from an AudioSource into a host audio callback.