|Noah Petherbridge ae3b0695ba||1 anno fa|
|README.md||1 anno fa|
|main.go||1 anno fa|
This example uses the SDL2 Mixer engine to implement a simple command line program that plays music and sound files.
play [options] path/to/file.ogg
Supports file types
Default behavior calls LoadSound() or LoadMusic() using the filename given.
-binary option to go through LoadSoundBin() or LoadMusicBin() to
test initializing it by bytes array instead.
-binary Opens the file first as a bytes array, and feeds it to the audio engine as binary data instead of by passing a filename on disk. -loop <int> Loop the audio file, default 0 will only play it once. -1 for music will play forever.