mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 14:49:29 +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
|
// Set to true the first time the SDL callback is called
|
||||||
atomic_bool played;
|
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
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue