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

# XFuWavLoad.cpp File Reference

RIFF Wave loader. More...

`#include <xfcore/XFcCore.h>`
`#include <xfutil/XFuWavLoad.h>`

Include dependency graph for XFuWavLoad.cpp:

Go to the source code of this file.

## Compounds
class | WavLoaderTempData
## Defines
#define | PANIC(x)
## Functions
INT | loadHeader (WavLoaderTempData &d)
XFcAudioBuffer * | xfuLoadWav (const CHAR *aFilename, UINT32 aFlags)
| Loads RIFF .Wav file as XFcAudioBuffer.
XFcAudioBuffer * | xfuLoadWav (const CHAR *filename)
| Loads RIFF .Wav file as XFcAudioBuffer.

## Detailed Description

RIFF Wave loader.

X-Forge Util
Copyright 2000-2003 Fathammer Ltd

Id
  XFuWavLoad.cpp,v 1.8.2.1 2003/12/15 09:26:22 jari Exp

Date
  2003/12/15 09:26:22

Revision
  1.8.2.1

Definition in file XFuWavLoad.cpp.

## Define Documentation

#define PANIC | ( | x |  | ) |

| Definition at line 86 of file XFuWavLoad.cpp. Referenced by xfuLoadWav().

## Function Documentation

INT loadHeader | ( | WavLoaderTempData & | d | ) | `[static]`

| Definition at line 44 of file XFuWavLoad.cpp. References WavLoaderTempData::mBitsPerSample, WavLoaderTempData::mChannels, WavLoaderTempData::mFile, WavLoaderTempData::mSamplingRate, and WavLoaderTempData::mWavFormat. Referenced by xfuLoadWav().

XFcAudioBuffer* xfuLoadWav | ( | const CHAR * | aFilename | ) |

| Loads RIFF .Wav file as XFcAudioBuffer. Currently only supports 8/16-bit mono/stereo PCM samples. Definition at line 227 of file XFuWavLoad.cpp.

XFcAudioBuffer* xfuLoadWav | ( | const CHAR * | aFilename,
|  | UINT32 | aFlags
| ) |

| Loads RIFF .Wav file as XFcAudioBuffer. Currently only supports 8/16-bit mono/stereo PCM samples. Definition at line 88 of file XFuWavLoad.cpp.

|  | X-Forge Documentation Confidential Copyright © 2002-2003 Fathammer |  | Documentation generated with doxygen by Dimitri van Heesch