Public Member Functions | Private Attributes

sound::SoundBuffer Class Reference

Class for loading sound files into a memory buffer. More...

#include <_src_sound_sound_buffer.hh>

List of all members.

Public Member Functions

 SoundBuffer (const string &soundFilename)
 ~SoundBuffer ()
void * GetBuf (void)
long GetSize (void)

Private Attributes

std::pair< void *, long > mBufAndSize

Detailed Description

Class for loading sound files into a memory buffer.

Internal to sound module.

SoundBuffer is an auto-destroying object.


Constructor & Destructor Documentation

sound::SoundBuffer::SoundBuffer ( const string &  soundFilename  ) 

Load sound file into a memory buffer else throw exception. Supports compressed sound files.

Parameters:
soundFilename Will be expanded to full pathname.
sound::SoundBuffer::~SoundBuffer (  ) 

Member Function Documentation

void* sound::SoundBuffer::GetBuf ( void   )  [inline]
long sound::SoundBuffer::GetSize ( void   )  [inline]

Member Data Documentation

std::pair<void*,long> sound::SoundBuffer::mBufAndSize [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:12