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

audiere.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define AUDIERE_H
#define ADR_CALL
#define ADR_TRUE   1
#define ADR_FALSE   0
#define ADR_VOLUME_MIN   (0)
#define ADR_VOLUME_MAX   (255)

Typedefs

typedef int ADR_BOOL
typedef ADR_FileHandleADR_FILE
typedef struct ADR_CONTEXT_ATTRimpADR_CONTEXT_ATTR
typedef struct ADR_CONTEXTimp* ADR_CONTEXT
typedef struct ADR_STREAMimp* ADR_STREAM

Enumerations

enum  ADR_SEEK_TYPE { ADR_BEGIN, ADR_CURRENT, ADR_END }

Functions

typedef ADR_FILE (ADR_CALL *ADR_FILE_OPEN)(void *opaque, const char *filename)
typedef void (ADR_CALL *ADR_FILE_CLOSE)(ADR_FILE file)
typedef int (ADR_CALL *ADR_FILE_READ)(ADR_FILE file, void *buffer, int size)
typedef ADR_BOOL (ADR_CALL *ADR_FILE_SEEK)(ADR_FILE file, int offset, ADR_SEEK_TYPE type)
const char* ADR_CALL AdrGetVersion (void)
ADR_CONTEXT_ATTR ADR_CALL AdrCreateContextAttr (void)
void ADR_CALL AdrDestroyContextAttr (ADR_CONTEXT_ATTR attr)
void ADR_CALL AdrContextAttrSetOutputDevice (ADR_CONTEXT_ATTR attr, const char *output_device)
void ADR_CALL AdrContextAttrSetParameters (ADR_CONTEXT_ATTR attr, const char *parameters)
void ADR_CALL AdrContextAttrSetOpaque (ADR_CONTEXT_ATTR attr, void *opaque)
void ADR_CALL AdrContextAttrSetFileCallbacks (ADR_CONTEXT_ATTR attr, ADR_FILE_OPEN open, ADR_FILE_CLOSE close, ADR_FILE_READ read, ADR_FILE_SEEK seek, ADR_FILE_TELL tell)
ADR_CONTEXT ADR_CALL AdrCreateContext (ADR_CONTEXT_ATTR attr)
void ADR_CALL AdrDestroyContext (ADR_CONTEXT context)
ADR_STREAM ADR_CALL AdrOpenStream (ADR_CONTEXT context, const char *filename)
void ADR_CALL AdrCloseStream (ADR_STREAM stream)
void ADR_CALL AdrPlayStream (ADR_STREAM stream)
void ADR_CALL AdrPauseStream (ADR_STREAM stream)
void ADR_CALL AdrResetStream (ADR_STREAM stream)
ADR_BOOL ADR_CALL AdrIsStreamPlaying (ADR_STREAM stream)
void ADR_CALL AdrSetStreamRepeat (ADR_STREAM stream, ADR_BOOL repeat)
ADR_BOOL ADR_CALL AdrGetStreamRepeat (ADR_STREAM)
void ADR_CALL AdrSetStreamVolume (ADR_STREAM stream, int volume)
int ADR_CALL AdrGetStreamVolume (ADR_STREAM stream)


Define Documentation

#define ADR_CALL
 

Value:

Definition at line 15 of file audiere.h.

#define ADR_FALSE   0
 

Definition at line 22 of file audiere.h.

#define ADR_TRUE   1
 

Definition at line 21 of file audiere.h.

#define ADR_VOLUME_MAX   (255)
 

Definition at line 58 of file audiere.h.

#define ADR_VOLUME_MIN   (0)
 

Definition at line 57 of file audiere.h.

#define AUDIERE_H
 

Value:

Definition at line 2 of file audiere.h.


Typedef Documentation

typedef ADR_BOOL
 

Definition at line 20 of file audiere.h.

typedef struct ADR_CONTEXTimp * ADR_CONTEXT
 

Definition at line 63 of file audiere.h.

typedef struct ADR_CONTEXT_ATTRimp * ADR_CONTEXT_ATTR
 

Definition at line 62 of file audiere.h.

typedef ADR_FILE
 

Definition at line 27 of file audiere.h.

typedef struct ADR_STREAMimp * ADR_STREAM
 

Definition at line 64 of file audiere.h.


Enumeration Type Documentation

enum ADR_SEEK_TYPE
 

Enumeration values:
ADR_BEGIN  
ADR_CURRENT  
ADR_END  

Definition at line 29 of file audiere.h.


Function Documentation

typedef ADR_BOOL ( ADR_CALL * ADR_FILE_SEEK )
 

typedef ADR_FILE ( ADR_CALL * ADR_FILE_OPEN ) const
 

void ADR_CALL AdrCloseStream ( ADR_STREAM stream )
 

Definition at line 152 of file audiere.cpp.

void ADR_CALL AdrContextAttrSetFileCallbacks ( ADR_CONTEXT_ATTR attr,
ADR_FILE_OPEN open,
ADR_FILE_CLOSE close,
ADR_FILE_READ read,
ADR_FILE_SEEK seek,
ADR_FILE_TELL tell )
 

Definition at line 77 of file audiere.cpp.

void ADR_CALL AdrContextAttrSetOpaque ( ADR_CONTEXT_ATTR attr,
void * opaque )
 

Definition at line 68 of file audiere.cpp.

void ADR_CALL AdrContextAttrSetOutputDevice ( ADR_CONTEXT_ATTR attr,
const char * output_device )
 

Definition at line 50 of file audiere.cpp.

void ADR_CALL AdrContextAttrSetParameters ( ADR_CONTEXT_ATTR attr,
const char * parameters )
 

Definition at line 59 of file audiere.cpp.

ADR_CONTEXT ADR_CALL AdrCreateContext ( ADR_CONTEXT_ATTR attr )
 

Definition at line 102 of file audiere.cpp.

ADR_CONTEXT_ATTR ADR_CALL AdrCreateContextAttr ( void )
 

Definition at line 26 of file audiere.cpp.

void ADR_CALL AdrDestroyContext ( ADR_CONTEXT context )
 

Definition at line 133 of file audiere.cpp.

void ADR_CALL AdrDestroyContextAttr ( ADR_CONTEXT_ATTR attr )
 

Definition at line 42 of file audiere.cpp.

ADR_BOOL ADR_CALL AdrGetStreamRepeat ( ADR_STREAM stream )
 

Definition at line 206 of file audiere.cpp.

int ADR_CALL AdrGetStreamVolume ( ADR_STREAM stream )
 

Definition at line 231 of file audiere.cpp.

const char* ADR_CALL AdrGetVersion ( void )
 

Definition at line 19 of file audiere.cpp.

ADR_BOOL ADR_CALL AdrIsStreamPlaying ( ADR_STREAM stream )
 

Definition at line 188 of file audiere.cpp.

ADR_STREAM ADR_CALL AdrOpenStream ( ADR_CONTEXT context,
const char * filename )
 

Definition at line 143 of file audiere.cpp.

void ADR_CALL AdrPauseStream ( ADR_STREAM stream )
 

Definition at line 170 of file audiere.cpp.

void ADR_CALL AdrPlayStream ( ADR_STREAM stream )
 

Definition at line 161 of file audiere.cpp.

void ADR_CALL AdrResetStream ( ADR_STREAM stream )
 

Definition at line 179 of file audiere.cpp.

void ADR_CALL AdrSetStreamRepeat ( ADR_STREAM stream,
ADR_BOOL repeat )
 

Definition at line 197 of file audiere.cpp.

void ADR_CALL AdrSetStreamVolume ( ADR_STREAM stream,
int volume )
 

Definition at line 215 of file audiere.cpp.

typedef int ( ADR_CALL * ADR_FILE_TELL )
 

Referenced by Volume_AudiereToDirectSound().

typedef void ( ADR_CALL * ADR_FILE_CLOSE )
 


Generated at Mon Jun 10 02:55:13 2002 for audiere by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001