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

A FrameReader plus the opened file's properties, ready to feed into a StreamingSampleSourceConfig (channels / total_frames / sample_rate). More...

#include <streaming_sample_source_file.hpp>

Public Attributes

FrameReader reader
FrameReaderBinding binding
std::uint32_t channels = 0
std::uint64_t total_frames = 0
std::uint32_t sample_rate = 0
std::array< std::uint8_t, 32 > content_sha256 {}
std::uint64_t mapped_byte_size = 0
bool has_content_identity = false
bool supports_ranged_read = false
bool valid = false

Detailed Description

A FrameReader plus the opened file's properties, ready to feed into a StreamingSampleSourceConfig (channels / total_frames / sample_rate).

Member Data Documentation

◆ binding

FrameReaderBinding pulp::audio::FileFrameReader::binding

◆ channels

std::uint32_t pulp::audio::FileFrameReader::channels = 0

◆ content_sha256

std::array<std::uint8_t, 32> pulp::audio::FileFrameReader::content_sha256 {}

◆ has_content_identity

bool pulp::audio::FileFrameReader::has_content_identity = false

◆ mapped_byte_size

std::uint64_t pulp::audio::FileFrameReader::mapped_byte_size = 0

◆ reader

FrameReader pulp::audio::FileFrameReader::reader

◆ sample_rate

std::uint32_t pulp::audio::FileFrameReader::sample_rate = 0

◆ supports_ranged_read

bool pulp::audio::FileFrameReader::supports_ranged_read = false

◆ total_frames

std::uint64_t pulp::audio::FileFrameReader::total_frames = 0

◆ valid

bool pulp::audio::FileFrameReader::valid = false

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