mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
spa: alsa: fix spa_log_trace_fp() args
Less arguments were passed than required by the format string.
This commit is contained in:
parent
99d5436f15
commit
7b3ef1ac4e
1 changed files with 2 additions and 2 deletions
|
|
@ -728,7 +728,7 @@ static void on_driver_timeout(struct spa_source *source)
|
||||||
|
|
||||||
if (SPA_LIKELY(io != NULL)) {
|
if (SPA_LIKELY(io != NULL)) {
|
||||||
spa_log_trace_fp(this->log, "%p: ran out of buffers to output, "
|
spa_log_trace_fp(this->log, "%p: ran out of buffers to output, "
|
||||||
"need more; IO status: %d", io->status);
|
"need more; IO status: %d", this, io->status);
|
||||||
io->status = SPA_STATUS_NEED_DATA;
|
io->status = SPA_STATUS_NEED_DATA;
|
||||||
spa_node_call_ready(&this->callbacks, SPA_STATUS_NEED_DATA);
|
spa_node_call_ready(&this->callbacks, SPA_STATUS_NEED_DATA);
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -756,7 +756,7 @@ static inline void check_position_and_clock_config(struct impl *this)
|
||||||
this->cycle_rate = this->node_position_io->clock.rate.denom;
|
this->cycle_rate = this->node_position_io->clock.rate.denom;
|
||||||
} else {
|
} else {
|
||||||
/* This can happen at the very beginning if node_position_io
|
/* This can happen at the very beginning if node_position_io
|
||||||
* isn't passed to this node in time. */
|
* isn't passed to this node in time. */
|
||||||
this->cycle_duration = 1024;
|
this->cycle_duration = 1024;
|
||||||
this->cycle_rate = 48000;
|
this->cycle_rate = 48000;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue