Skip to content

Display and control your Android device

Remove unused audio player callbacks

Romain Vimonta7e61fb87123
diff --git a/app/src/audio_player.h b/app/src/audio_player.h
index 0c677363..3d468999 100644
--- a/app/src/audio_player.h
+++ b/app/src/audio_player.h
@@ -68,13 +68,6 @@ struct sc_audio_player {
// Set to true the first time the SDL callback is called
atomic_bool played;
-
- const struct sc_audio_player_callbacks *cbs;
- void *cbs_userdata;
-};
-
-struct sc_audio_player_callbacks {
- void (*on_ended)(struct sc_audio_player *ap, bool success, void *userdata);
};
void