Beatmup
processing.h File Reference

Go to the source code of this file.

Namespaces

 Beatmup
 
 Beatmup::Audio
 Sound I/O and processing API.
 
 Beatmup::Audio::Processing
 Contains templates calling elementary audio signal processing routines depending on sample formats of their arguments.
 

Macros

#define WRITING(IN_T)
 

Functions

template<template< typename, typename > class Func, typename... Args>
void Beatmup::Audio::Processing::pipeline (const AudioSampleFormat inFormat, const AudioSampleFormat outFormat, const sample8 *input, sample8 *output, Args &&... args)
 

Macro Definition Documentation

◆ WRITING

#define WRITING (   IN_T)
Value:
switch (outFormat) { \
case Int8: \
Func<IN_T, sample8>::process((const IN_T*)input, (sample8*)output, args...); \
break; \
case Int16: \
Func<IN_T, sample16>::process((const IN_T*)input, (sample16*)output, args...); \
break; \
case Int32: \
Func<IN_T, sample32>::process((const IN_T*)input, (sample32*)output, args...); \
break; \
case Float32: \
Func<IN_T, sample32f>::process((const IN_T*)input, (sample32f*)output, args...); \
break; \
}
@ Int8
signed integer, 8 bit per sample
@ Int32
signed integer, 32 bit per sample
@ Float32
floating point, 32 bit per sample
@ Int16
signed integer, 16 bit per sample