mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-10 14:07:48 +00:00
Update README.md
This commit is contained in:
@@ -50,7 +50,7 @@ int main(int argc, char* argv[])
|
|||||||
int sfxId = 0x1337;
|
int sfxId = 0x1337;
|
||||||
float vol = 1.0f;
|
float vol = 1.0f;
|
||||||
float pan = 0.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 */
|
/* Play for ~5 sec */
|
||||||
int passedFrames = 0;
|
int passedFrames = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user