Daniel Salvadori пре 6 година
родитељ
комит
13a2c9e55e
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      audio/audio_file.go

+ 6 - 0
audio/audio_file.go

@@ -15,6 +15,12 @@ import (
 	"unsafe"
 )
 
+const (
+	waveHeaderSize = 44
+	fileMark       = "RIFF"
+	fileHead       = "WAVE"
+)
+
 // AudioInfo represents the information associated to an audio file
 type AudioInfo struct {
 	Format     int     // OpenAl Format