mirror of
https://github.com/AxioDL/amuse.git
synced 2025-07-04 20:26:03 +00:00
Update README.md
This commit is contained in:
parent
ccc4290aaf
commit
ccefe60a9d
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user