hydrogen 1.1.1
Hydrogen.h File Reference

Data Structures

class  Hydrogen
 Hydrogen Audio Engine. More...
 

Namespaces

namespace  H2Core
 

Macros

#define STATE_UNINITIALIZED   1
 State of the H2Core::AudioEngine H2Core::m_audioEngineState. More...
 
#define STATE_INITIALIZED   2
 State of the H2Core::AudioEngine H2Core::m_audioEngineState. More...
 
#define STATE_PREPARED   3
 State of the H2Core::AudioEngine H2Core::m_audioEngineState. More...
 
#define STATE_READY   4
 State of the H2Core::AudioEngine H2Core::m_audioEngineState. More...
 
#define STATE_PLAYING   5
 State of the H2Core::AudioEngine H2Core::m_audioEngineState. More...
 

Functions

int randomValue (int max)
 

Macro Definition Documentation

◆ STATE_INITIALIZED

#define STATE_INITIALIZED   2

State of the H2Core::AudioEngine H2Core::m_audioEngineState.

Not ready, but most pointers are now valid or NULL.

◆ STATE_PLAYING

#define STATE_PLAYING   5

State of the H2Core::AudioEngine H2Core::m_audioEngineState.

Currently playing a sequence.

◆ STATE_PREPARED

#define STATE_PREPARED   3

State of the H2Core::AudioEngine H2Core::m_audioEngineState.

Drivers are set up, but not ready to process audio.

◆ STATE_READY

#define STATE_READY   4

State of the H2Core::AudioEngine H2Core::m_audioEngineState.

Ready to process audio.

◆ STATE_UNINITIALIZED

#define STATE_UNINITIALIZED   1

State of the H2Core::AudioEngine H2Core::m_audioEngineState.

Not even the constructors have been called.

Function Documentation

◆ randomValue()

int randomValue ( int  max)
inline