bluetooth: Print SO_TIMESTAMP warning for SCO source only once

This commit is contained in:
Pali Rohár 2019-06-21 20:36:09 +02:00 committed by Tanu Kaskinen
parent 3f13af508d
commit de66644776

View file

@ -395,7 +395,9 @@ static int sco_process_push(struct userdata *u) {
} }
if (!found_tstamp) { if (!found_tstamp) {
pa_log_warn("Couldn't find SO_TIMESTAMP data in auxiliary recvmsg() data!"); PA_ONCE_BEGIN {
pa_log_warn("Couldn't find SO_TIMESTAMP data in auxiliary recvmsg() data!");
} PA_ONCE_END;
tstamp = pa_rtclock_now(); tstamp = pa_rtclock_now();
} }