audio-formats v1.3.4 (2021-10-10T14:59:24Z)
Dub
Repo
WAVDecoder
audioformats
wav
Use both for scanning and decoding
version(decodeWAV)
final
class
WAVDecoder {
this
(IOCallbacks* io, void* userData);
void
scan
();
int
readSamples
(float* outData, int maxFrames);
package @
nogc
int
_sampleRate
;
package @
nogc
int
_channels
;
package @
nogc
int
_audioFormat
;
package @
nogc
int
_bytePerSample
;
package @
nogc
long
_samplesOffsetInFile
;
package @
nogc
uint
_lengthInFrames
;
package @
nogc
uint
_framePosition
;
}
Constructors
this
this
(IOCallbacks* io, void* userData)
Undocumented in source.
Members
Functions
readSamples
int
readSamples
(float* outData, int maxFrames)
Undocumented in source. Be warned that the author may not have intended to support it.
scan
void
scan
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
_audioFormat
int
_audioFormat
;
Undocumented in source.
_bytePerSample
int
_bytePerSample
;
Undocumented in source.
_channels
int
_channels
;
Undocumented in source.
_framePosition
uint
_framePosition
;
Undocumented in source.
_lengthInFrames
uint
_lengthInFrames
;
Undocumented in source.
_sampleRate
int
_sampleRate
;
Undocumented in source.
_samplesOffsetInFile
long
_samplesOffsetInFile
;
Undocumented in source.
Meta
Source
See Implementation
audioformats
wav
classes
WAVDecoder
WAVEncoder
Use both for scanning and decoding