CPP-TOOLBOX
Loading...
Searching...
No Matches
sound_system Directory Reference

Directories

 openal_utils
 

Files

 load_sound_file.cpp
 
 load_sound_file.hpp
 
 sound_system.cpp
 
 sound_system.hpp
 

Detailed Description

sound system which wraps openal

warning

You must define a subproject called sound_types where you have an enum like this:

sound_types.hpp

#ifndef SOUND_TYPES_HPP
#define SOUND_TYPES_HPP
// Enum representing different sound types
enum class SoundType {
};
#endif //SOUND_TYPES_HPP
SoundType
Definition sound_types.hpp:4
@ SOUND_1
Definition sound_types.hpp:5
@ SOUND_3
Definition sound_types.hpp:7
@ SOUND_2
Definition sound_types.hpp:6

also give it a sbpt.ini file:

[subproject]
export = sound_types.hpp

and be sure to run sbpt.py so that the sound system will know where to find that.

Dependencies