Tramway SDK
Classes | Namespaces | Enumerations | Variables
definitions.h File Reference
#include <framework/math.h>
#include <templates/spinlock.h>

Go to the source code of this file.

Classes

struct  tram::Audio::Spatial::PathExplorationResult
 
struct  tram::Audio::Spatial::PathTracingResult
 
struct  tram::Audio::Spatial::PathFromAudioSource
 
struct  tram::Audio::Spatial::PathRenderingInfo
 
struct  tram::Audio::Spatial::AudioBuffer
 
struct  tram::Audio::Spatial::AudioSource
 
struct  tram::Audio::Spatial::AudioRender
 

Namespaces

namespace  tram
 
namespace  tram::Audio
 
namespace  tram::Audio::Spatial
 

Enumerations

enum  tram::Audio::Spatial::AudioSourceFlags : uint16_t { tram::Audio::Spatial::SOURCE_PLAYING = 1 , tram::Audio::Spatial::SOURCE_REPEATING = 2 }
 
enum  tram::Audio::Spatial::AudioSampleRate : uint16_t { tram::Audio::Spatial::SAMPLERATE_44100 = 1 , tram::Audio::Spatial::SAMPLERATE_22050 = 2 , tram::Audio::Spatial::SAMPLERATE_11025 = 4 }
 

Variables

const size_t tram::Audio::Spatial::PATHS_FOR_RENDERING = 10
 
const size_t tram::Audio::Spatial::PATHS_FOR_SOURCE = 5
 
const size_t tram::Audio::Spatial::PATHS_FOR_LISTENER = 5
 
const size_t tram::Audio::Spatial::BUFFER_COUNT = 1000
 
const size_t tram::Audio::Spatial::SOURCE_COUNT = 200
 
const size_t tram::Audio::Spatial::SOURCE_DEPTH_LIMIT = 3
 
const size_t tram::Audio::Spatial::LISTENER_DEPTH_LIMIT = 6
 
AudioBuffer tram::Audio::Spatial::audiobuffers [BUFFER_COUNT]
 
AudioSource tram::Audio::Spatial::audiosources [SOURCE_COUNT]
 
AudioRender tram::Audio::Spatial::audiorenders [SOURCE_COUNT]
 
vec3 tram::Audio::Spatial::listener_position
 
quat tram::Audio::Spatial::listener_orientation
 
int32_t tram::Audio::Spatial::listener_reverb_delay [5]
 
float tram::Audio::Spatial::listener_reverb_distance [5]
 
float tram::Audio::Spatial::listener_reverb_force [5]
 
float tram::Audio::Spatial::listener_reverb_normalized [5]