Esempio n. 1
0
File: mpa.go Progetto: shazow/mog
func init() {
	codec.RegisterCodec("MP3",
		[]string{"\xff\xfb", string([]byte{49, 44, 33})},
		[]string{"mp3"},
		NewSongs,
		nil,
	)
}
Esempio n. 2
0
File: flac.go Progetto: shazow/mog
func init() {
	codec.RegisterCodec("FLAC", []string{"fLaC"}, []string{"flac"}, New, nil)
}
Esempio n. 3
0
File: wav.go Progetto: shazow/mog
func init() {
	codec.RegisterCodec("WAV", []string{"RIFF????WAVE"}, []string{"wav"}, New, nil)
}
Esempio n. 4
0
File: rar.go Progetto: shazow/mog
func init() {
	codec.RegisterCodec("RAR", []string{"RAR!\u001a\u0007"}, []string{"rar", "rsn"}, Read, Get)
}
Esempio n. 5
0
File: nsf.go Progetto: shazow/mog
func init() {
	codec.RegisterCodec("NSF", []string{"NESM\u001a"}, []string{"nsf"}, ReadNSFSongs, Get)
	codec.RegisterCodec("NSFE", []string{"NSFE"}, []string{"nsfe"}, ReadNSFSongs, Get)
}
Esempio n. 6
0
File: vorbis.go Progetto: shazow/mog
func init() {
	codec.RegisterCodec("VORBIS", []string{"OggS"}, []string{"ogg"}, NewSongs, nil)
}
Esempio n. 7
0
func init() {
	codec.RegisterCodec("NSF", "NESM\u001a", ReadNSFSongs)
}
Esempio n. 8
0
File: gme.go Progetto: shazow/mog
func init() {
	codec.RegisterCodec("SPC", []string{"SNES-SPC"}, []string{"spc"}, NewSongs, GetSong)
	codec.RegisterCodec("NSF", []string{"NESM\u001a"}, []string{"nsf"}, NewSongs, GetSong)
	codec.RegisterCodec("NSFE", []string{"NSFE"}, []string{"nsfe"}, NewSongs, GetSong)
}