Skip to content

Commit

Permalink
Merge pull request #172 from nekonesse/patch-2
Browse files Browse the repository at this point in the history
Fix typo in audio_sound_loop_start.htm
  • Loading branch information
gurpreetsinghmatharoo authored Sep 17, 2024
2 parents 4dc5728 + f081f44 commit 1c83a4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h4>Returns:</h4>
<h4>Example:</h4>
<p class="code"><span data-field="title" data-format="default">audio_sound_loop_start</span>(snd_machine, 4);<br />
audio_sound_loop_end(snd_machine, 10);<br />
ins_sound = audio_play_sound(snd_snd_machine, 100, true);</p>
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>
<p> </p>
Expand All @@ -72,4 +72,4 @@ <h5><span data-keyref="Copyright Notice">© Copyright YoYo Games Ltd. 2023 All R
audio_sound_loop_start
-->
</body>
</html>
</html>

0 comments on commit 1c83a4b

Please sign in to comment.