hide WaveSubformat

This commit is contained in:
Markus Tzoe 2015-08-18 20:05:40 +08:00
parent 56b0b0b234
commit e02b0d81bf

14
wav.go
View file

@ -40,18 +40,16 @@ type WaveSubchunkHeader struct {
subchunk_size uint32
}
type WaveSubformat struct {
f1 uint32
f2 uint16
f3 uint16
f4 [8]byte
}
type WaveExtHeader struct {
cb_size uint16
valid_bits uint16
ch_mask uint32
est WaveSubformat
est struct {
f1 uint32
f2 uint16
f3 uint16
f4 [8]byte
} // WaveSubformat
}
func (this *WaveHeader) Bytes() []byte {