Barotrauma Client Doc
Barotrauma.Sounds.SoundBuffers Class Reference
Inheritance diagram for Barotrauma.Sounds.SoundBuffers:

Public Member Functions

 SoundBuffers (Sound sound)
 
void Dispose ()
 
bool RequestAlBuffers ()
 

Static Public Member Functions

static void ClearPool ()
 

Static Public Attributes

const int MaxBuffers = 32000
 

Properties

static int BuffersGenerated = 0 [get]
 
uint AlBuffer = 0 [get]
 
uint AlMuffledBuffer = 0 [get]
 

Detailed Description

Definition at line 10 of file SoundBuffer.cs.

Constructor & Destructor Documentation

◆ SoundBuffers()

Barotrauma.Sounds.SoundBuffers.SoundBuffers ( Sound  sound)

Definition at line 24 of file SoundBuffer.cs.

Member Function Documentation

◆ ClearPool()

static void Barotrauma.Sounds.SoundBuffers.ClearPool ( )
static

Definition at line 45 of file SoundBuffer.cs.

◆ Dispose()

void Barotrauma.Sounds.SoundBuffers.Dispose ( )

Definition at line 25 of file SoundBuffer.cs.

◆ RequestAlBuffers()

bool Barotrauma.Sounds.SoundBuffers.RequestAlBuffers ( )

Definition at line 55 of file SoundBuffer.cs.

Member Data Documentation

◆ MaxBuffers

const int Barotrauma.Sounds.SoundBuffers.MaxBuffers = 32000
static

Definition at line 16 of file SoundBuffer.cs.

Property Documentation

◆ AlBuffer

uint Barotrauma.Sounds.SoundBuffers.AlBuffer = 0
get

Definition at line 21 of file SoundBuffer.cs.

◆ AlMuffledBuffer

uint Barotrauma.Sounds.SoundBuffers.AlMuffledBuffer = 0
get

Definition at line 22 of file SoundBuffer.cs.

◆ BuffersGenerated

int Barotrauma.Sounds.SoundBuffers.BuffersGenerated = 0
staticget

Definition at line 18 of file SoundBuffer.cs.