Classes | Defines | Functions

src/audio/src/util/alutInputStream.cpp File Reference

#include "alutInternal.h"
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>

Go to the source code of this file.

Classes

struct  InputStream_struct

Defines

#define FOPEN(__file, __param)   fileopen((char*)__file, (const char*)__param)

Functions

size_t _strlen (const wchar_t *str)
wchar_t * _strcpy (wchar_t *a, const wchar_t *b)
size_t _strlen (const char *str)
char * _strcpy (char *a, const char *b)
FILE * fileopen (wchar_t *file, const wchar_t *param)
FILE * fileopen (char *file, const char *param)
InputStream_alutInputStreamConstructFromFile (const rchar *fileName)
InputStream_alutInputStreamConstructFromMemory (const ALvoid *data, size_t length)
ALboolean _alutInputStreamDestroy (InputStream *stream)
const rchar * _alutInputStreamGetFileName (const InputStream *stream)
size_t _alutInputStreamGetRemainingLength (const InputStream *stream)
ALboolean _alutInputStreamEOF (InputStream *stream)
ALvoid * _alutInputStreamRead (InputStream *stream, size_t length)
ALboolean _alutInputStreamSkip (InputStream *stream, size_t numBytesToSkip)
ALboolean _alutInputStreamReadUInt16LE (InputStream *stream, UInt16LittleEndian *value)
ALboolean _alutInputStreamReadInt32BE (InputStream *stream, Int32BigEndian *value)
ALboolean _alutInputStreamReadUInt32LE (InputStream *stream, UInt32LittleEndian *value)

Define Documentation

#define FOPEN (   __file,
  __param 
)    fileopen((char*)__file, (const char*)__param)

Definition at line 64 of file alutInputStream.cpp.


Function Documentation

InputStream* _alutInputStreamConstructFromFile ( const rchar *  fileName  ) 

Definition at line 84 of file alutInputStream.cpp.

InputStream* _alutInputStreamConstructFromMemory ( const ALvoid *  data,
size_t  length 
)

Definition at line 127 of file alutInputStream.cpp.

ALboolean _alutInputStreamDestroy ( InputStream stream  ) 

Definition at line 143 of file alutInputStream.cpp.

ALboolean _alutInputStreamEOF ( InputStream stream  ) 

Definition at line 169 of file alutInputStream.cpp.

const rchar* _alutInputStreamGetFileName ( const InputStream stream  ) 

Definition at line 157 of file alutInputStream.cpp.

size_t _alutInputStreamGetRemainingLength ( const InputStream stream  ) 

Definition at line 163 of file alutInputStream.cpp.

ALvoid* _alutInputStreamRead ( InputStream stream,
size_t  length 
)

Definition at line 221 of file alutInputStream.cpp.

ALboolean _alutInputStreamReadInt32BE ( InputStream stream,
Int32BigEndian value 
)

Definition at line 270 of file alutInputStream.cpp.

ALboolean _alutInputStreamReadUInt16LE ( InputStream stream,
UInt16LittleEndian value 
)

Definition at line 258 of file alutInputStream.cpp.

ALboolean _alutInputStreamReadUInt32LE ( InputStream stream,
UInt32LittleEndian value 
)

Definition at line 285 of file alutInputStream.cpp.

ALboolean _alutInputStreamSkip ( InputStream stream,
size_t  numBytesToSkip 
)

Definition at line 239 of file alutInputStream.cpp.

char* _strcpy ( char *  a,
const char *  b 
)

Definition at line 42 of file alutInputStream.cpp.

wchar_t* _strcpy ( wchar_t *  a,
const wchar_t *  b 
)

Definition at line 26 of file alutInputStream.cpp.

size_t _strlen ( const char *  str  ) 

Definition at line 35 of file alutInputStream.cpp.

size_t _strlen ( const wchar_t *  str  ) 

Definition at line 19 of file alutInputStream.cpp.

FILE* fileopen ( wchar_t *  file,
const wchar_t *  param 
)

Definition at line 51 of file alutInputStream.cpp.

FILE* fileopen ( char *  file,
const char *  param 
)

Definition at line 56 of file alutInputStream.cpp.