mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
alsa-plugin: fix a compiler warnings
This commit is contained in:
parent
1b96142903
commit
25ddf0e3cf
1 changed files with 1 additions and 1 deletions
|
|
@ -418,7 +418,7 @@ static void on_stream_process(void *data)
|
||||||
if (io->stream == SND_PCM_STREAM_PLAYBACK)
|
if (io->stream == SND_PCM_STREAM_PLAYBACK)
|
||||||
pw->time.delay += xfer;
|
pw->time.delay += xfer;
|
||||||
else
|
else
|
||||||
pw->time.delay -= SPA_MIN(pw->time.delay, xfer);
|
pw->time.delay -= SPA_MIN(pw->time.delay, (int64_t)xfer);
|
||||||
|
|
||||||
pw_stream_queue_buffer(pw->stream, b);
|
pw_stream_queue_buffer(pw->stream, b);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue