OpenALSound Class Reference
[OpenAL Module]

#include <openalsound.h>

Inheritance diagram for OpenALSound:

Sound Resource Root Object TreeNode< Root > Referenced Counted Serialized List< Root > ListNode< Root >

List of all members.

Public Member Functions

 OpenALSound (const char *id)
virtual ~OpenALSound ()
virtual bool IsPlaying ()
virtual ulong_t GetDataSize ()

Protected Member Functions

virtual void Play ()
virtual void Stop ()
virtual void Pause ()
virtual void Update ()
virtual void UpdateStream ()
virtual bool LoadResource ()
virtual void UnloadResource ()

Protected Attributes

Ref< OpenALAudioServeral_audio_server
< OpenALSoundResource
ALuint source

Constructor & Destructor Documentation

OpenALSound::OpenALSound ( const char *  id  ) 


OpenALSound::~OpenALSound (  )  [virtual]


Member Function Documentation

bool OpenALSound::IsPlaying (  )  [virtual]

Returns true if sound is playing.

Reimplemented from Sound.

ulong_t OpenALSound::GetDataSize (  )  [virtual]

Return an estimated byte size of the resource data. This is only used for statistics.

Reimplemented from Resource.

void OpenALSound::Play (  )  [protected, virtual]

Starts the sound.

Reimplemented from Sound.

void OpenALSound::Stop (  )  [protected, virtual]

Stops the sound.

Reimplemented from Sound.

void OpenALSound::Pause (  )  [protected, virtual]

Pause the sound.

Reimplemented from Sound.

void OpenALSound::Update (  )  [protected, virtual]

Updates the sound.

Reimplemented from Sound.

void OpenALSound::UpdateStream (  )  [protected, virtual]

Updates sound stream.

Reimplemented from Sound.

bool OpenALSound::LoadResource (  )  [protected, virtual]

Creates a shared sound resource, and initializes it.

Reimplemented from Resource.

void OpenALSound::UnloadResource (  )  [protected, virtual]

Unloads the sound resource object.

Reimplemented from Resource.

Member Data Documentation

Ref<OpenALAudioServer> OpenALSound::al_audio_server [protected]

Ref<OpenALSoundResource> OpenALSound::al_sound_resource [protected]

ALuint OpenALSound::source [protected]

The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:33 2007 for Dark Oberon by  doxygen 1.5.3