mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
Get rid of some unused-function compiler warnings
This commit is contained in:
parent
3f6eb652cb
commit
53695b83dc
5 changed files with 11 additions and 5 deletions
|
|
@ -604,6 +604,7 @@ static void stream_update_timing_callback(pa_stream *s, int success, void *userd
|
|||
fprintf(stderr, " \r");
|
||||
}
|
||||
|
||||
#ifdef SIGUSR1
|
||||
/* Someone requested that the latency is shown */
|
||||
static void sigusr1_signal_callback(pa_mainloop_api*m, pa_signal_event *e, int sig, void *userdata) {
|
||||
|
||||
|
|
@ -612,6 +613,7 @@ static void sigusr1_signal_callback(pa_mainloop_api*m, pa_signal_event *e, int s
|
|||
|
||||
pa_operation_unref(pa_stream_update_timing_info(stream, stream_update_timing_callback, NULL));
|
||||
}
|
||||
#endif
|
||||
|
||||
static void time_event_callback(pa_mainloop_api *m, pa_time_event *e, const struct timeval *t, void *userdata) {
|
||||
if (stream && pa_stream_get_state(stream) == PA_STREAM_READY) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue