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

Sample range in source-frame coordinates. End is exclusive by convention. More...

#include <waveform_editor_primitives.hpp>

Public Member Functions

int64_t length () const
bool empty () const
WaveformSampleRange normalized () const

Public Attributes

int64_t start = 0
int64_t end = 0

Detailed Description

Sample range in source-frame coordinates. End is exclusive by convention.

Member Function Documentation

◆ empty()

bool pulp::view::WaveformSampleRange::empty ( ) const
inlinenodiscard

◆ length()

int64_t pulp::view::WaveformSampleRange::length ( ) const
inlinenodiscard

◆ normalized()

WaveformSampleRange pulp::view::WaveformSampleRange::normalized ( ) const
nodiscard

Member Data Documentation

◆ end

int64_t pulp::view::WaveformSampleRange::end = 0

◆ start

int64_t pulp::view::WaveformSampleRange::start = 0

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