Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Player ¶
type Player interface { Playing() bool // Playing returns true if the player is currently playing. Play(callBack *func()) // Play sound. Loop(times int, callback *func()) // Loop the sound `times` number of times. times = -1: loop forever. Pause() // Pause or resume playback from previous pause. Stop() // Stop playback and reset transport. Close() // Close the player and underlying resources. }
Click to show internal directories.
Click to hide internal directories.