Exemple #1
0
func init() {
	codec.RegisterCodec("MP3",
		[]string{"\xff\xfb", string([]byte{49, 44, 33})},
		[]string{"mp3"},
		NewSongs,
		nil,
	)
}
Exemple #2
0
func init() {
	codec.RegisterCodec("RAR", []string{"RAR!\u001a\u0007"}, []string{"rar", "rsn"}, Read, Get)
}
Exemple #3
0
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)
}
Exemple #4
0
func init() {
	codec.RegisterCodec("FLAC", []string{"fLaC"}, []string{"flac"}, New, nil)
}
Exemple #5
0
func init() {
	codec.RegisterCodec("WAV", []string{"RIFF????WAVE"}, []string{"wav"}, New, nil)
}
Exemple #6
0
func init() {
	codec.RegisterCodec("VORBIS", []string{"OggS"}, []string{"ogg"}, NewSongs, nil)
}
Exemple #7
0
func init() {
	codec.RegisterCodec("NSF", []string{"NESM\u001a"}, []string{"nsf"}, ReadNSFSongs, Get)
	codec.RegisterCodec("NSFE", []string{"NSFE"}, []string{"nsfe"}, ReadNSFSongs, Get)
}