User Tools

Site Tools


development:csdk:2.0:headers:music

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
development:csdk:2.0:headers:music [2024/11/20 21:13] clydedevelopment:csdk:2.0:headers:music [2024/11/20 21:14] (current) clyde
Line 5: Line 5:
 void init_music(); void init_music();
 </code> </code>
 +This should only need to be called once, after ''init_audio_coprocessor()'' and before doing any music or sound effects.
 ==== play_song ==== ==== play_song ====
 <code C> <code C>
Line 19: Line 20:
 char tick_music(); char tick_music();
 </code> </code>
 +Call this once per frame, ideally shortly after ''await_vsync()''
 ==== play_sound_effect ==== ==== play_sound_effect ====
 <code C> <code C>
development/csdk/2.0/headers/music.1732137186.txt.gz · Last modified: 2024/11/20 21:13 by clyde