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

Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes

Audiofile Class Reference

Collaboration diagram for Audiofile:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { MODE_NONE, MODE_READ, MODE_WRITE }
enum  { TYPE_OTHER, TYPE_CAF, TYPE_WAV, TYPE_AMB }
enum  {
  FORM_OTHER, FORM_16BIT, FORM_24BIT, FORM_32BIT,
  FORM_FLOAT
}
enum  { DITHER_NONE, DITHER_RECT, DITHER_TRIA, DITHER_LIPS }
enum  {
  ERR_NONE = 0, ERR_MODE = -1, ERR_TYPE = -2, ERR_FORM = -3,
  ERR_OPEN = -4, ERR_SEEK = -5, ERR_DATA = -6, ERR_READ = -7,
  ERR_WRITE = -8
}

Public Member Functions

int chan (void) const
int close (void)
int form (void) const
int mode (void) const
int open_read (const char *name)
int open_write (const char *name, int type, int form, int rate, int chan)
int rate (void) const
int read (float *data, uint32_t frames)
int seek (uint32_t posit)
int set_dither (int type)
uint32_t size (void) const
int type (void) const
int write (float *data, uint32_t frames)

Private Types

enum  { BUFFSIZE = 1024 }

Private Member Functions

void reset (void)

Private Attributes

int _chan
int16_t * _dith_buff
Dither_dith_proc
int _dith_type
int _form
int _mode
int _rate
uint32_t _size
SNDFILE * _sndfile
int _type

Detailed Description

Definition at line 32 of file audiofile.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index