DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::OfflineAudioSpec Struct Reference

Immutable source format and host-provided content/timeline identity. More...

#include <OfflineProcessing.h>

Public Member Functions

bool isValid () const noexcept
 Checks transport bounds, not the contents or identity of the audio.
 
bool operator== (const OfflineAudioSpec &) const noexcept=default
 

Public Attributes

double sampleRate = 48000
 
int channels = 0
 
std::int64_t frames = 0
 
std::uint64_t sourceId = 0
 
std::uint64_t revision = 0
 
std::int64_t timelineOrigin = 0
 Metadata; read offsets are relative to frame zero.
 

Detailed Description

Immutable source format and host-provided content/timeline identity.

Definition at line 80 of file OfflineProcessing.h.

Member Function Documentation

◆ isValid()

bool dspark::OfflineAudioSpec::isValid ( ) const
inlinenoexcept

Checks transport bounds, not the contents or identity of the audio.

Definition at line 90 of file OfflineProcessing.h.

◆ operator==()

bool dspark::OfflineAudioSpec::operator== ( const OfflineAudioSpec &  ) const
defaultnoexcept

Member Data Documentation

◆ channels

int dspark::OfflineAudioSpec::channels = 0

Definition at line 83 of file OfflineProcessing.h.

◆ frames

std::int64_t dspark::OfflineAudioSpec::frames = 0

Definition at line 84 of file OfflineProcessing.h.

◆ revision

std::uint64_t dspark::OfflineAudioSpec::revision = 0

Definition at line 86 of file OfflineProcessing.h.

◆ sampleRate

double dspark::OfflineAudioSpec::sampleRate = 48000

Definition at line 82 of file OfflineProcessing.h.

◆ sourceId

std::uint64_t dspark::OfflineAudioSpec::sourceId = 0

Definition at line 85 of file OfflineProcessing.h.

◆ timelineOrigin

std::int64_t dspark::OfflineAudioSpec::timelineOrigin = 0

Metadata; read offsets are relative to frame zero.

Definition at line 87 of file OfflineProcessing.h.


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