-
-
Notifications
You must be signed in to change notification settings - Fork 29
Audio system
Romain Milbert edited this page Oct 2, 2020
·
2 revisions
On the AudioSystem's creation, an audio device is used. Like its name implies, it represents the audio output device that will be used. When adding an AudioSystem with no argument, a "default device" is used.
Any available audio device on your computer can be used. Those can be fetched by calling Raz::AudioSystem::recoverDevices()
. One of the recovered names can then be given at the AudioSystem's creation, or later as an argument to its open()
member function.
NB: changing the device will invalidate all sounds which were previously created. These must be recreated.
- Home
- How to build RaZ
- Getting started
- General usage knowledge
- Some examples...
- Playground
- Tutorials
- File formats
- Modules
- Debug