mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-17 21:44:20 +01: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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user