openMSX
Public Types | Public Member Functions | Static Public Attributes | List of all members
openmsx::BlipBuffer Class Reference

#include <BlipBuffer.hh>

Public Types

using TimeIndex = FixedPoint< BLIP_PHASE_BITS >
 

Public Member Functions

 BlipBuffer ()
 
void addDelta (TimeIndex time, float delta)
 
template<size_t PITCH>
bool readSamples (float *out, size_t samples)
 

Static Public Attributes

static constexpr int BLIP_PHASE_BITS = 10
 

Detailed Description

Definition at line 15 of file BlipBuffer.hh.

Member Typedef Documentation

◆ TimeIndex

Definition at line 22 of file BlipBuffer.hh.

Constructor & Destructor Documentation

◆ BlipBuffer()

openmsx::BlipBuffer::BlipBuffer ( )

Definition at line 83 of file BlipBuffer.cc.

References ranges::fill(), and xrange().

Member Function Documentation

◆ addDelta()

void openmsx::BlipBuffer::addDelta ( TimeIndex  time,
float  delta 
)

◆ readSamples()

template<size_t PITCH>
template bool openmsx::BlipBuffer::readSamples< 2 > ( float *  out,
size_t  samples 
)

Definition at line 152 of file BlipBuffer.cc.

References ranges::all_of(), and xrange().

Member Data Documentation

◆ BLIP_PHASE_BITS

constexpr int openmsx::BlipBuffer::BLIP_PHASE_BITS = 10
staticconstexpr

Definition at line 20 of file BlipBuffer.hh.


The documentation for this class was generated from the following files: