Remove unused audio player callbacks

The callbacks were never used: the player can report errors directly
from sc_audio_player_frame_sink_push().
This commit is contained in:
Romain Vimont 2024-09-23 22:28:04 +02:00
parent 0cc6f6aa09
commit a7e61fb871

View file

@ -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