void set_next_clip_callback(next_clip_callback_func cb) { next_clip_callback = cb; }
// Not thread-safe to set concurrently with playing.
// Will be called back from the player thread.
void set_next_clip_callback(next_clip_callback_func cb) { next_clip_callback = cb; }
// Not thread-safe to set concurrently with playing.
// Will be called back from the player thread.