mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
pulsesink: port after merge
This commit is contained in:
parent
e1b795ac13
commit
0eeffef222
1 changed files with 2 additions and 2 deletions
|
@ -1487,9 +1487,9 @@ gst_pulseringbuffer_commit (GstRingBuffer * buf, guint64 * sample,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Recalculate what we can write in the next chunk */
|
/* Recalculate what we can write in the next chunk */
|
||||||
towrite = out_samples * bps;
|
towrite = out_samples * bpf;
|
||||||
if (pbuf->m_writable > towrite)
|
if (pbuf->m_writable > towrite)
|
||||||
pbuf->m_writable = towrite;
|
pbuf->m_writable = towrite;
|
||||||
|
|
||||||
GST_LOG_OBJECT (psink, "requesting %" G_GSIZE_FORMAT " bytes of "
|
GST_LOG_OBJECT (psink, "requesting %" G_GSIZE_FORMAT " bytes of "
|
||||||
"shared memory", pbuf->m_writable);
|
"shared memory", pbuf->m_writable);
|
||||||
|
|
Loading…
Reference in a new issue