#ifndef __SWGYSND_H_
#define __SWGYSND_H_
/*
* Return a version string for the library.
*/
const char *swgysnd_version_str(void);
/*
* Must be called first to initialize the library.
*/
int swgysnd_init(void);
/*
* Load a wav for playing later. The handle is written to handle_out.
*/
int swgysnd_loadwav(const char *path, int *handle_out);
/*
* Free a previously loaded wav referenced by the provided handle.
*/
int swgysnd_freewav(int handle);
/*
* Play the wav associated with the indicated handle.
*/
int swgysnd_playwav(int handle, double balance);
/*
* Call to release all dynamic resources.
*/
int swgysnd_shutdown(void);
#endif