Logo Search packages:      
Sourcecode: performous version File versions  Download package

sample.hpp File Reference


Detailed Description

Sample format definition and format conversions.

Header-only, no need to link to LibDA.

Definition in file sample.hpp.

#include <math.h>

Go to the source code of this file.

Namespaces

namespace  da

Typedefs

typedef float da::sample_t

Functions

static sample_t da::conv_from_s16 (int s)
static sample_t da::conv_from_s24 (int s)
static int da::conv_to_s16 (sample_t s)
static int da::conv_to_s24 (sample_t s)

Variables

const sample_t da::max_s16 = 32767.0
const sample_t da::max_s24 = 8388607.0


Generated by  Doxygen 1.6.0   Back to index