improve logging

This commit is contained in:
Wim Taymans 2023-03-30 11:34:30 +02:00
parent 7bddb80c93
commit a163f29a43
4 changed files with 10 additions and 8 deletions

View file

@ -2130,7 +2130,7 @@ again:
state->props.device, snd_strerror(res));
return res;
}
spa_log_trace_fp(state->log, "%p: begin %ld %ld %d",
spa_log_trace_fp(state->log, "%p: begin offset:%ld avail:%ld threshold:%d",
state, offset, frames, state->threshold);
off = offset;
} else {
@ -2192,7 +2192,7 @@ again:
to_write -= n_frames;
}
spa_log_trace_fp(state->log, "%p: commit %ld %ld %"PRIi64,
spa_log_trace_fp(state->log, "%p: commit offset:%ld written:%ld sample_count:%"PRIi64,
state, offset, written, state->sample_count);
total_written += written;