Tramway SDK
|
System for doing audio related stuff. More...
Namespaces | |
namespace | API |
Audio backend API. | |
namespace | Spatial |
Experimental path tracing audio system. | |
Classes | |
struct | audiobuffer_t |
Audio buffer handle. More... | |
struct | audiosource_t |
Audio source handle. More... | |
class | Sound |
Audio data resource. More... | |
Functions | |
void | Init () |
Starts the Audio system. More... | |
void | Update () |
Updates the Audio system. More... | |
void | Uninit () |
void | SetVolume (float value) |
float | GetVolume () |
void | SetListenerPosition (vec3 position) |
See Audio::API::SetListenerPosition(). More... | |
void | SetListenerOrientation (quat orientation) |
See Audio::API::SetListenerOrientation(). More... | |
System for doing audio related stuff.
float tram::Audio::GetVolume | ( | ) |
void tram::Audio::Init | ( | ) |
Starts the Audio system.
void tram::Audio::SetListenerOrientation | ( | quat | orientation | ) |
void tram::Audio::SetListenerPosition | ( | vec3 | position | ) |
void tram::Audio::SetVolume | ( | float | value | ) |
void tram::Audio::Uninit | ( | ) |
void tram::Audio::Update | ( | ) |
Updates the Audio system.