#include <AudioSystem.hpp>
Public Member Functions | |
| AudioSystem () | |
| Constructor. | |
| virtual | ~AudioSystem () |
| Destructor. | |
| virtual bool | initialize ()=0 |
| Initialize sound system. | |
| virtual void | terminate ()=0 |
| Terminate sound system. | |
| void | update () |
| Update sound system. | |
| virtual bool | musicPlay ()=0 |
| Play the music. | |
| virtual void | musicStop ()=0 |
| Stop playing the music. | |
| virtual bool | musicPause ()=0 |
| Pause the music. | |
Protected Attributes | |
| MusicSystem * | m_pMusicSystem |
| Music system object. | |
This is the main object which gives access to sound and music modules. This is a pure abstract class which needs a concrete implementation (using OpenAL, DirectSound or any other sound library).
| syBR::AudioCore::AudioSystem::AudioSystem | ( | ) |
Constructor.
| syBR::AudioCore::AudioSystem::~AudioSystem | ( | ) | [virtual] |
Destructor.
| virtual bool syBR::AudioCore::AudioSystem::initialize | ( | ) | [pure virtual] |
Initialize sound system.
| virtual void syBR::AudioCore::AudioSystem::terminate | ( | ) | [pure virtual] |
Terminate sound system.
| void syBR::AudioCore::AudioSystem::update | ( | ) |
Update sound system.
| virtual bool syBR::AudioCore::AudioSystem::musicPlay | ( | ) | [pure virtual] |
Play the music.
| virtual void syBR::AudioCore::AudioSystem::musicStop | ( | ) | [pure virtual] |
Stop playing the music.
| virtual bool syBR::AudioCore::AudioSystem::musicPause | ( | ) | [pure virtual] |
Pause the music.
MusicSystem* syBR::AudioCore::AudioSystem::m_pMusicSystem [protected] |
Music system object.
Copyright © 2008 by Sebastien Frippiat

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Last modified Tue Dec 30 17:57:33 2008