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

audiere.cpp File Reference

#include <string>
#include <string.h>
#include <ctype.h>
#include "audiere.h"
#include "context.hpp"
#include "default_file.hpp"
#include "stream.hpp"
#include "file.hpp"

Include dependency graph for audiere.cpp:

Include dependency graph

Go to the source code of this file.

Functions

ContextImportContext (ADR_CONTEXT c)
StreamImportStream (ADR_STREAM s)
ADR_CONTEXT ExportContext (Context *c)
ADR_STREAM ExportStream (Stream *s)
const char* ADR_CALL AdrGetVersion ()
ADR_CONTEXT_ATTR ADR_CALL AdrCreateContextAttr ()
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 stream)
void ADR_CALL AdrSetStreamVolume (ADR_STREAM stream, int volume)
int ADR_CALL AdrGetStreamVolume (ADR_STREAM stream)


Function Documentation

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.

Referenced by AdrCreateContext().

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.

ADR_CONTEXT ExportContext ( Context * c ) [inline]
 

Definition at line 13 of file audiere.cpp.

Referenced by AdrCreateContext().

ADR_STREAM ExportStream ( Stream * s ) [inline]
 

Definition at line 14 of file audiere.cpp.

Referenced by AdrOpenStream().

Context * ImportContext ( ADR_CONTEXT c ) [inline]
 

Definition at line 11 of file audiere.cpp.

Referenced by AdrDestroyContext(), and AdrOpenStream().

Stream * ImportStream ( ADR_STREAM s ) [inline]
 

Definition at line 12 of file audiere.cpp.

Referenced by AdrCloseStream(), AdrGetStreamRepeat(), AdrGetStreamVolume(), AdrIsStreamPlaying(), AdrPauseStream(), AdrPlayStream(), AdrResetStream(), AdrSetStreamRepeat(), and AdrSetStreamVolume().


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