openMSX
Classes | Namespaces | Variables
BlipBuffer.cc File Reference
#include "BlipBuffer.hh"
#include "cstd.hh"
#include "likely.hh"
#include "Math.hh"
#include <algorithm>
#include <cstring>
#include <cassert>
#include <iostream>
Include dependency graph for BlipBuffer.cc:

Go to the source code of this file.

Classes

struct  openmsx::Impulses
 

Namespaces

 openmsx
 Thanks to enen for testing this on a real cartridge:
 

Variables

constexpr int openmsx::BLIP_SAMPLE_BITS = 29
 
constexpr int openmsx::BLIP_IMPULSE_WIDTH = 16
 
constexpr int openmsx::BLIP_RES = 1 << BlipBuffer::BLIP_PHASE_BITS
 
constexpr Impulses openmsx::impulses = calcImpulses()
 
constexpr float openmsx::BASS_FACTOR = 511.0f / 512.0f