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<unsigned PITCH>
bool readSamples (float *out, unsigned samples)

Static Public Attributes

static constexpr int BLIP_PHASE_BITS = 10

Detailed Description

Definition at line 14 of file BlipBuffer.hh.

Member Typedef Documentation

◆ TimeIndex

Definition at line 21 of file BlipBuffer.hh.

Constructor & Destructor Documentation

◆ BlipBuffer()

openmsx::BlipBuffer::BlipBuffer ( )

Definition at line 85 of file

References openmsx::BLIP_IMPULSE_WIDTH, openmsx::BLIP_RES, and openmsx::impulses.

Member Function Documentation

◆ addDelta()

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

◆ readSamples()

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

Definition at line 156 of file

References openmsx::BASS_FACTOR, and gl::min().

Member Data Documentation


constexpr int openmsx::BlipBuffer::BLIP_PHASE_BITS = 10

Definition at line 19 of file BlipBuffer.hh.

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