Csound and CsoundAC API  5.17
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
pvfileio.h File Reference
#include "sysdep.h"

Data Structures

struct  GUID
struct  pvoc_data
struct  WAVEFORMATEX
struct  WAVEFORMATEXTENSIBLE
struct  WAVEFORMATPVOCEX

Macros

#define PVX_VERSION   (1)
#define SIZEOF_FMTPVOCEX   (80)
#define SIZEOF_WFMTEX   (18)

Typedefs

typedef enum pvoc_sampletype pv_stype
typedef enum pvoc_windowtype pv_wtype
typedef enum pvoc_frametype pvoc_frametype
typedef enum pvoc_wordformat pvoc_wordformat
typedef struct pvoc_data PVOCDATA
typedef struct
WAVEFORMATEXTENSIBLE
PWAVEFORMATEXTENSIBLE

Enumerations

enum  pvoc_frametype { PVOC_AMP_FREQ = 0, PVOC_AMP_PHASE, PVOC_COMPLEX }
enum  pvoc_sampletype { STYPE_16, STYPE_24, STYPE_32, STYPE_IEEE_FLOAT }
enum  pvoc_windowtype {
  PVOC_DEFAULT = 0, PVOC_HAMMING, PVOC_HANN, PVOC_KAISER,
  PVOC_RECT, PVOC_CUSTOM
}
enum  pvoc_wordformat { PVOC_IEEE_FLOAT, PVOC_IEEE_DOUBLE }

Functions

int init_pvsys (CSOUND *)
int pvoc_closefile (CSOUND *, int)
int pvoc_createfile (CSOUND *, const char *, uint32, uint32, uint32, uint32, int32, int, int, float, float *, uint32)
const char * pvoc_errorstr (CSOUND *)
int pvoc_framecount (CSOUND *, int ifd)
int pvoc_fseek (CSOUND *, int ifd, int offset)
int pvoc_getframes (CSOUND *, int ifd, float *frames, uint32 nframes)
int pvoc_openfile (CSOUND *, const char *filename, PVOCDATA *data, WAVEFORMATEX *fmt)
int pvoc_putframes (CSOUND *, int ofd, const float *frame, int32 numframes)
int pvsys_release (CSOUND *)

Variables

const GUID KSDATAFORMAT_SUBTYPE_PVOC

Macro Definition Documentation

#define PVX_VERSION   (1)
#define SIZEOF_FMTPVOCEX   (80)
#define SIZEOF_WFMTEX   (18)

Typedef Documentation

typedef enum pvoc_sampletype pv_stype
typedef enum pvoc_windowtype pv_wtype
typedef struct pvoc_data PVOCDATA

Enumeration Type Documentation

Enumerator:
PVOC_AMP_FREQ 
PVOC_AMP_PHASE 
PVOC_COMPLEX 
Enumerator:
STYPE_16 
STYPE_24 
STYPE_32 
STYPE_IEEE_FLOAT 
Enumerator:
PVOC_DEFAULT 
PVOC_HAMMING 
PVOC_HANN 
PVOC_KAISER 
PVOC_RECT 
PVOC_CUSTOM 
Enumerator:
PVOC_IEEE_FLOAT 
PVOC_IEEE_DOUBLE 

Function Documentation

int init_pvsys ( CSOUND )
int pvoc_closefile ( CSOUND ,
int   
)
int pvoc_createfile ( CSOUND ,
const char *  ,
uint32  ,
uint32  ,
uint32  ,
uint32  ,
int32  ,
int  ,
int  ,
float  ,
float *  ,
uint32   
)
const char* pvoc_errorstr ( CSOUND )
int pvoc_framecount ( CSOUND ,
int  ifd 
)
int pvoc_fseek ( CSOUND ,
int  ifd,
int  offset 
)
int pvoc_getframes ( CSOUND ,
int  ifd,
float *  frames,
uint32  nframes 
)
int pvoc_openfile ( CSOUND ,
const char *  filename,
PVOCDATA data,
WAVEFORMATEX fmt 
)
int pvoc_putframes ( CSOUND ,
int  ofd,
const float *  frame,
int32  numframes 
)
int pvsys_release ( CSOUND )

Variable Documentation

const GUID KSDATAFORMAT_SUBTYPE_PVOC