Engine::SoundBuffer Class Reference

A sound loaded from a file. More...

#include <Audio.h>

List of all members.

Public Member Functions

 SoundBuffer (const char *filename)
 Create from file.
 ~SoundBuffer ()
ALuint get_al_buffer () const

Private Member Functions

 SoundBuffer (const SoundBuffer &source)
SoundBufferoperator= (const SoundBuffer &source)

Private Attributes

ALuint m_buffer

Detailed Description

A sound loaded from a file.

A single SoundBuffer can be used by multiple SoundSources. It is a c++ wrapper around an OpenAL buffer.

Definition at line 105 of file Audio.h.

Constructor & Destructor Documentation

Engine::SoundBuffer::SoundBuffer ( const char *  filename  ) 

Create from file.

Definition at line 333 of file Audio.cpp.

Engine::SoundBuffer::~SoundBuffer (  ) 

Definition at line 348 of file Audio.cpp.

Engine::SoundBuffer::SoundBuffer ( const SoundBuffer source  )  [private]

Member Function Documentation

ALuint Engine::SoundBuffer::get_al_buffer (  )  const

Definition at line 361 of file Audio.cpp.

SoundBuffer& Engine::SoundBuffer::operator= ( const SoundBuffer source  )  [private]

Member Data Documentation

ALuint Engine::SoundBuffer::m_buffer [private]

Definition at line 114 of file Audio.h.

The documentation for this class was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:17 2010 by Doxygen version 1.4.7 for Racer version svn335.