UnmanagedGenericSound

An implementation of GenericSound that doesn't use garbage collector

Constructors

this
this(Sound ras)
Undocumented in source.
this
this(double dur, uint freq, uint numChannels, SampleFormat f)
Undocumented in source.
this
this(size_t dataSize, ulong numSamples, double dur, uint numChannels, uint freq, uint bitdepth, SampleFormat f)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

allocateData
void allocateData(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
createSameFormat
Sound createSameFormat(uint ch, double dur)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

dup
Sound dup [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From GenericSound

_data
ubyte[] _data;
Undocumented in source.
_size
ulong _size;
Undocumented in source.
_duration
double _duration;
Undocumented in source.
_channels
uint _channels;
Undocumented in source.
_sampleRate
uint _sampleRate;
Undocumented in source.
_bitDepth
uint _bitDepth;
Undocumented in source.
_format
SampleFormat _format;
Undocumented in source.
size
ulong size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
duration
double duration [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
channels
uint channels [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
sampleRate
uint sampleRate [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
bitDepth
uint bitDepth [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
sampleFormat
SampleFormat sampleFormat [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
data
ubyte[] data [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
position
size_t position;
Undocumented in source.
allocateData
void allocateData(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
stream
ulong stream(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
float opIndex(uint chan, ulong pos)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
float opIndexAssign(float s, uint chan, ulong pos)
Undocumented in source. Be warned that the author may not have intended to support it.
dup
Sound dup [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
createSameFormat
Sound createSameFormat(uint ch, double dur)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta