Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SampleFormat.h File Reference

Go to the source code of this file.

Defines

#define SAMPLE_SIZE(SampleFormat)   (SampleFormat >> 16)

Typedefs

typedef char * samplePtr

Enumerations

enum  sampleFormat { int16Sample = 0x00020001, int24Sample = 0x00040001, floatSample = 0x0004000F }

Functions

const char * GetSampleFormatStr (sampleFormat format)
samplePtr NewSamples (int count, sampleFormat format)
void DeleteSamples (samplePtr p)
void CopySamples (samplePtr src, sampleFormat srcFormat, samplePtr dst, sampleFormat dstFormat, unsigned int len, bool highQuality=true, unsigned int stride=1)
void ClearSamples (samplePtr buffer, sampleFormat format, int start, int len)
int GetNumDithers ()
int GetCurrentDither ()


Define Documentation

#define SAMPLE_SIZE SampleFormat       (SampleFormat >> 16)
 


Typedef Documentation

typedef char* samplePtr
 


Enumeration Type Documentation

enum sampleFormat
 

Enumeration values:
int16Sample 
int24Sample 
floatSample 


Function Documentation

void ClearSamples samplePtr    buffer,
sampleFormat    format,
int    start,
int    len
 

void CopySamples samplePtr    src,
sampleFormat    srcFormat,
samplePtr    dst,
sampleFormat    dstFormat,
unsigned int    len,
bool    highQuality = true,
unsigned int    stride = 1
 

void DeleteSamples samplePtr    p
 

int GetCurrentDither  
 

int GetNumDithers  
 

const char* GetSampleFormatStr sampleFormat    format
 

samplePtr NewSamples int    count,
sampleFormat    format
 


Generated on Wed Nov 6 20:20:58 2002 for Audacity by doxygen1.2.18