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

#include <rational_time.hpp>

Public Member Functions

constexpr bool valid () const noexcept
constexpr RationalRate normalized () const noexcept
constexpr long double as_long_double () const noexcept
constexpr auto operator<=> (const RationalRate &) const =default

Public Attributes

std::uint64_t numerator = 48'000
std::uint64_t denominator = 1

Member Function Documentation

◆ as_long_double()

long double pulp::timebase::RationalRate::as_long_double ( ) const
inlineconstexprnoexcept

◆ normalized()

RationalRate pulp::timebase::RationalRate::normalized ( ) const
inlineconstexprnoexcept

◆ operator<=>()

auto pulp::timebase::RationalRate::operator<=> ( const RationalRate & ) const
constexprdefault

◆ valid()

bool pulp::timebase::RationalRate::valid ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ denominator

std::uint64_t pulp::timebase::RationalRate::denominator = 1

◆ numerator

std::uint64_t pulp::timebase::RationalRate::numerator = 48'000

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