|
| | VoipSound (string name, SoundManager owner, VoipQueue q) |
| |
| override float | GetAmplitudeAtPlaybackPos (int playbackPos) |
| |
| void | SetPosition (Vector3? pos) |
| |
| void | SetRange (float near, float far) |
| |
| void | ApplyFilters (short[] buffer, int readSamples) |
| |
| override SoundChannel | Play (float gain, float range, Vector2 position, bool muffle=false) |
| |
| override SoundChannel | Play (Vector3? position, float gain, float freqMult=1.0f, bool muffle=false) |
| |
| override SoundChannel | Play (float gain) |
| |
| override SoundChannel | Play () |
| |
| override int | FillStreamBuffer (int samplePos, short[] buffer) |
| |
| override void | Dispose () |
| |
| | Sound (SoundManager owner, string filename, bool stream, bool streamsReliably, ContentXElement xElement=null, bool getFullPath=true) |
| |
| override string | ToString () |
| |
| virtual bool | IsPlaying () |
| |
| virtual SoundChannel | Play (float gain, float range, float freqMult, Vector2 position, bool muffle=false) |
| |
| virtual SoundChannel | Play (float? gain, string category) |
| |
| virtual void | InitializeAlBuffers () |
| |
| virtual void | FillAlBuffers () |
| |
| virtual void | DeleteAlBuffers () |
| |
Definition at line 9 of file VoipSound.cs.
◆ VoipSound()
◆ ApplyFilters()
| void Barotrauma.Sounds.VoipSound.ApplyFilters |
( |
short[] |
buffer, |
|
|
int |
readSamples |
|
) |
| |
◆ Dispose()
| override void Barotrauma.Sounds.VoipSound.Dispose |
( |
| ) |
|
|
virtual |
◆ FillStreamBuffer()
| override int Barotrauma.Sounds.VoipSound.FillStreamBuffer |
( |
int |
samplePos, |
|
|
short[] |
buffer |
|
) |
| |
|
virtual |
◆ GetAmplitudeAtPlaybackPos()
| override float Barotrauma.Sounds.VoipSound.GetAmplitudeAtPlaybackPos |
( |
int |
playbackPos | ) |
|
|
virtual |
◆ Play() [1/4]
◆ Play() [2/4]
| override SoundChannel Barotrauma.Sounds.VoipSound.Play |
( |
float |
gain | ) |
|
|
virtual |
◆ Play() [3/4]
| override SoundChannel Barotrauma.Sounds.VoipSound.Play |
( |
float |
gain, |
|
|
float |
range, |
|
|
Vector2 |
position, |
|
|
bool |
muffle = false |
|
) |
| |
|
virtual |
◆ Play() [4/4]
| override SoundChannel Barotrauma.Sounds.VoipSound.Play |
( |
Vector3? |
position, |
|
|
float |
gain, |
|
|
float |
freqMult = 1.0f, |
|
|
bool |
muffle = false |
|
) |
| |
|
virtual |
◆ SetPosition()
| void Barotrauma.Sounds.VoipSound.SetPosition |
( |
Vector3? |
pos | ) |
|
◆ SetRange()
| void Barotrauma.Sounds.VoipSound.SetRange |
( |
float |
near, |
|
|
float |
far |
|
) |
| |
◆ UseMuffleFilter
| bool Barotrauma.Sounds.VoipSound.UseMuffleFilter |
◆ UseRadioFilter
| bool Barotrauma.Sounds.VoipSound.UseRadioFilter |
◆ CurrentAmplitude
| float??? Barotrauma.Sounds.VoipSound.CurrentAmplitude |
|
get |
◆ Far
| float Barotrauma.Sounds.VoipSound.Far |
|
get |
◆ Gain
| float? Barotrauma.Sounds.VoipSound.Gain |
|
getset |
◆ IsPlaying
| new bool Barotrauma.Sounds.VoipSound.IsPlaying |
|
get |
◆ Near
| float Barotrauma.Sounds.VoipSound.Near |
|
get |
◆ SourcePoolIndex