Update README.md

This commit is contained in:
Jack Andersen 2016-05-13 19:19:57 -10:00
parent ccc4290aaf
commit ccefe60a9d
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ int main(int argc, char* argv[])
int sfxId = 0x1337;
float vol = 1.0f;
float pan = 0.0f;
Voice* voice = snd.fxStart(sfxId, vol, pan);
std::shared_ptr<Voice> voice = snd.fxStart(sfxId, vol, pan);
/* Play for ~5 sec */
int passedFrames = 0;