Im trying to run a mp3 sound for the background music. I consulted the test project and it was fairly simple.
But when I include SimpleAudioEngine.h the library is not found. Due to which basically I can’t do anything.
S3E_API s3eResult s3eAudioPlay ( const char * filename,
uint32 repeatCount
)
Plays an audio file from the file system.
Parameters:
filename Name of file to play.
repeatCount one of the following values: 0 = Play forever, 1 = Play once, >1 = Play a certain number of times.
So should we change our code to
if (bLoop)
{
result = s3eAudioPlay(pszFilePath, 0);
}
else
{
result = s3eAudioPlay(pszFilePath, 1);
}