AudioSample Struct Reference

#include <AudioSample.h>

Description

A unit of sound data.

Consists of 2 pieces of data: one for the left channel and one for the right channel.

Functions

float NormalizedR ()
 
float NormalizedL ()
 

Properties

int16_t leftSample
 
int16_t rightSample
 

Member Function Documentation

float NormalizedR ( )
inline

Returns the right sample as a value from 0 to 1.

float NormalizedL ( )
inline

Returns the left sample as a value from 0 to 1.

Field Documentation

int16_t leftSample

The left sample.

int16_t rightSample

The right sample.


The documentation for this struct was generated from the following file: