// Adds a customizable delay to the TH02 version.
int snd_delay_until_measure(
unsigned int measure, unsigned int frames_if_no_bgm
);