AudioStreamSample

Plays audio.

Plays audio, can loop.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Enums

Constants
enum Constants
Format
enum Format
LoopMode
enum LoopMode

Functions

getData
PoolByteArray getData()
getFormat
AudioStreamSample.Format getFormat()
getLoopBegin
long getLoopBegin()
getLoopEnd
long getLoopEnd()
getLoopMode
AudioStreamSample.LoopMode getLoopMode()
getMixRate
long getMixRate()
isStereo
bool isStereo()
opAssign
AudioStreamSample opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(AudioStreamSample other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
saveToWav
void saveToWav(StringArg0 path)
setData
void setData(PoolByteArray data)
setFormat
void setFormat(long format)
setLoopBegin
void setLoopBegin(long loop_begin)
setLoopEnd
void setLoopEnd(long loop_end)
setLoopMode
void setLoopMode(long loop_mode)
setMixRate
void setMixRate(long mix_rate)
setStereo
void setStereo(bool stereo)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

data
PoolByteArray data [@property getter]
PoolByteArray data [@property setter]

Contains the audio data in bytes.

format
AudioStreamSample.Format format [@property getter]
long format [@property setter]

Audio format. See FORMAT_* constants for values.

loopBegin
long loopBegin [@property getter]
long loopBegin [@property setter]

Loop start in bytes.

loopEnd
long loopEnd [@property getter]
long loopEnd [@property setter]

Loop end in bytes.

loopMode
AudioStreamSample.LoopMode loopMode [@property getter]
long loopMode [@property setter]

Loop mode. See LOOP_* constants for values.

mixRate
long mixRate [@property getter]
long mixRate [@property setter]

The sample rate for mixing this audio.

stereo
bool stereo [@property getter]
bool stereo [@property setter]

If true, audio is stereo. Default value: false.

Static functions

_new
AudioStreamSample _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta