#include "soundfile.h" int getSoundSamples(char *path, SOUNDINFO *info, void *dest);
|path||File from which to retrieve sound sample data.|
|info||Metadata for the sound sample.|
|dest||Destination buffer for the retrieved data.|
SOUND_FILE_FORMAT_ERROR if the file
specified by path is not a valid, supported file type. Returns
SOUND_FILE_FOPEN_ERROR if the file
specified by path cannot be found or opened. Returns
Before invoking this function, the application must first call
and retrieve the
SOUNDINFO data from the desired file.
The application must allocate memory for the buffer pointed to by
dest; the size of the buffer can be retrieved
bufferLength field of the
Opens the file specified by path and retrieves the sound samples therein, as indicated by the information pointed to by info. The sample data will be stored in a buffer pointed to by dest.
|Wii U (Host PC only)||Do not call this function on the Wii U console. It is available only on the host PC.|
2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup Pass.
2011/02/21 Initial version.