Tramway SDK
Namespaces | Classes | Functions
tram::Audio Namespace Reference

Namespaces

namespace  API
 
namespace  Spatial
 

Classes

struct  audiobuffer_t
 
struct  audiosource_t
 
class  Sound
 

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...
 

Function Documentation

◆ GetVolume()

float tram::Audio::GetVolume ( )

◆ Init()

void tram::Audio::Init ( )

Starts the Audio system.

◆ SetListenerOrientation()

void tram::Audio::SetListenerOrientation ( quat  orientation)

◆ SetListenerPosition()

void tram::Audio::SetListenerPosition ( vec3  position)

◆ SetVolume()

void tram::Audio::SetVolume ( float  value)

◆ Uninit()

void tram::Audio::Uninit ( )

◆ Update()

void tram::Audio::Update ( )

Updates the Audio system.