mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
alsa: fix log output when the audio device refuses to give us again the same period settings we had before
This commit is contained in:
parent
ba95b1939d
commit
bd3467ff2f
2 changed files with 2 additions and 2 deletions
|
|
@ -983,7 +983,7 @@ static int unsuspend(struct userdata *u) {
|
||||||
buffer_size*u->frame_size != u->hwbuf_size) {
|
buffer_size*u->frame_size != u->hwbuf_size) {
|
||||||
pa_log_warn("Resume failed, couldn't restore original fragment settings. (Old: %lu/%lu, New %lu/%lu)",
|
pa_log_warn("Resume failed, couldn't restore original fragment settings. (Old: %lu/%lu, New %lu/%lu)",
|
||||||
(unsigned long) u->hwbuf_size, (unsigned long) u->fragment_size,
|
(unsigned long) u->hwbuf_size, (unsigned long) u->fragment_size,
|
||||||
(unsigned long) (buffer_size*u->fragment_size), (unsigned long) (period_size*u->frame_size));
|
(unsigned long) (buffer_size*u->frame_size), (unsigned long) (period_size*u->frame_size));
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -930,7 +930,7 @@ static int unsuspend(struct userdata *u) {
|
||||||
buffer_size*u->frame_size != u->hwbuf_size) {
|
buffer_size*u->frame_size != u->hwbuf_size) {
|
||||||
pa_log_warn("Resume failed, couldn't restore original fragment settings. (Old: %lu/%lu, New %lu/%lu)",
|
pa_log_warn("Resume failed, couldn't restore original fragment settings. (Old: %lu/%lu, New %lu/%lu)",
|
||||||
(unsigned long) u->hwbuf_size, (unsigned long) u->fragment_size,
|
(unsigned long) u->hwbuf_size, (unsigned long) u->fragment_size,
|
||||||
(unsigned long) (buffer_size*u->fragment_size), (unsigned long) (period_size*u->frame_size));
|
(unsigned long) (buffer_size*u->frame_size), (unsigned long) (period_size*u->frame_size));
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue