mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-19 19:15:08 +00:00
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:
parent
0cc6f6aa09
commit
a7e61fb871
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue