Skip to content

Commit

Permalink
Merge pull request #171 from nekonesse/patch-1
Browse files Browse the repository at this point in the history
Fix typo in audio_sound_loop_end.htm
  • Loading branch information
gurpreetsinghmatharoo authored Sep 17, 2024
2 parents 1c83a4b + 3698a62 commit 1351561
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ <h4>Returns:</h4>
<h4>Example:</h4>
<p class="code">audio_sound_loop_start(snd_machine, 4);<br />
<span data-field="title" data-format="default">audio_sound_loop_end</span>(snd_machine, 10);<br />
ins_sound = audio_play_sound(snd_snd_machine, 100, true);
ins_sound = audio_play_sound(snd_machine, 100, true);
</p>
<p>The above code sets the loop start point for the existing sound asset <span class="inline2">snd_machine</span> to 4 seconds and the loop end point to 10 seconds. The sound is then played with a priority of 100 and <span class="inline2">loop</span> set to <span class="inline2">true</span>. The new sound <em>instance</em> gets its loop start and end position from the sound <em>asset</em>. Its ID is stored in a variable <span class="inline2">ins_sound</span>.</p>
<p> </p>
Expand All @@ -72,4 +72,4 @@ <h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All R
audio_sound_loop_end
-->
</body>
</html>
</html>

0 comments on commit 1351561

Please sign in to comment.