mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
bluetooth: mSBC: log lost input audio packets at debug level
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/507>
This commit is contained in:
parent
6a92940796
commit
1a194c9918
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ static size_t decode_buffer(void *codec_info, const uint8_t *input_buffer, size_
|
||||||
uint8_t lost_packets = (4 + seq - sbc_info->msbc_seq++) % 4;
|
uint8_t lost_packets = (4 + seq - sbc_info->msbc_seq++) % 4;
|
||||||
|
|
||||||
if (lost_packets) {
|
if (lost_packets) {
|
||||||
pa_log_error("Lost %d input audio packet(s)", lost_packets);
|
pa_log_debug("Lost %d input audio packet(s)", lost_packets);
|
||||||
sbc_info->msbc_seq = seq + 1;
|
sbc_info->msbc_seq = seq + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue