The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
WavFileHeader
arsd
wav
Undocumented in source.
struct
WavFileHeader {
const
ubyte
[
4
]
header
;
int
topSize
;
const
ubyte
[
4
]
type
;
const
ubyte
[
4
]
fmtHeader
;
const
int
fmtHeaderSize
;
const
ushort
audioFormat
;
ushort
numberOfChannels
;
uint
sampleRate
;
uint
bytesPerSeconds
;
ushort
bytesPerSampleTimesChannels
;
ushort
bitsPerSample
;
const
ubyte
[
4
]
dataHeader
;
uint
dataLength
;
this
(uint sampleRate, ushort numberOfChannels, ushort bitsPerSample, uint dataLengthInBytes);
WavFileHeader
withDataLengthInBytes
(int dataLengthInBytes);
}
Constructors
this
this
(uint sampleRate, ushort numberOfChannels, ushort bitsPerSample, uint dataLengthInBytes)
Members
Functions
withDataLengthInBytes
WavFileHeader
withDataLengthInBytes
(int dataLengthInBytes)
Meta
Source
See Implementation
arsd
wav
functions
wavReader
structs
WavFileHeader
WavReader
WavWriter