|
| VideoSound (SoundManager owner, string filename, int sampleRate, int channelCount, Video vid) |
|
override float | GetAmplitudeAtPlaybackPos (int playbackPos) |
|
override bool | IsPlaying () |
|
void | Enqueue (short[] buf) |
|
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 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 14 of file VideoSound.cs.
◆ VideoSound()
Barotrauma.Sounds.VideoSound.VideoSound |
( |
SoundManager |
owner, |
|
|
string |
filename, |
|
|
int |
sampleRate, |
|
|
int |
channelCount, |
|
|
Video |
vid |
|
) |
| |
◆ Dispose()
override void Barotrauma.Sounds.VideoSound.Dispose |
( |
| ) |
|
|
virtual |
◆ Enqueue()
void Barotrauma.Sounds.VideoSound.Enqueue |
( |
short[] |
buf | ) |
|
◆ FillStreamBuffer()
override int Barotrauma.Sounds.VideoSound.FillStreamBuffer |
( |
int |
samplePos, |
|
|
short[] |
buffer |
|
) |
| |
|
virtual |
◆ GetAmplitudeAtPlaybackPos()
override float Barotrauma.Sounds.VideoSound.GetAmplitudeAtPlaybackPos |
( |
int |
playbackPos | ) |
|
|
virtual |
◆ IsPlaying()
override bool Barotrauma.Sounds.VideoSound.IsPlaying |
( |
| ) |
|
|
virtual |
◆ Play() [1/4]
◆ Play() [2/4]
override SoundChannel Barotrauma.Sounds.VideoSound.Play |
( |
float |
gain | ) |
|
|
virtual |
◆ Play() [3/4]
override SoundChannel Barotrauma.Sounds.VideoSound.Play |
( |
float |
gain, |
|
|
float |
range, |
|
|
Vector2 |
position, |
|
|
bool |
muffle = false |
|
) |
| |
|
virtual |
◆ Play() [4/4]
override SoundChannel Barotrauma.Sounds.VideoSound.Play |
( |
Vector3? |
position, |
|
|
float |
gain, |
|
|
float |
freqMult = 1.0f , |
|
|
bool |
muffle = false |
|
) |
| |
|
virtual |