Beatmup
sample_arithmetic.h File Reference
#include "../basic_types.h"
#include "../utils/utils.hpp"

Go to the source code of this file.

Classes

struct  Beatmup::sample8
 
struct  Beatmup::sample16
 
struct  Beatmup::sample32
 
struct  Beatmup::sample32f
 

Namespaces

 Beatmup
 

Enumerations

enum  Beatmup::AudioSampleFormat { Beatmup::Int8 , Beatmup::Int16 , Beatmup::Int32 , Beatmup::Float32 }
 Format of audio samples. More...
 

Functions

bool Beatmup::operator!= (const sample16 &A, const sample16 &B)
 
template<typename in , typename out >
void Beatmup::convertSamples (in *const input, void *output, msize count)
 

Variables

const int Beatmup::AUDIO_SAMPLE_SIZE [] = { 1, 2, 3, 4 }
 
const char *const Beatmup::AUDIO_FORMAT_NAME [] = { "8 bit", "16 bit", "32 bit", "32 bit float" }