mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
alsasink: Update internal buffer/period times with the values that were configured on the device
This commit is contained in:
parent
f763a2364f
commit
639e2d4346
1 changed files with 2 additions and 0 deletions
|
@ -491,6 +491,7 @@ retry:
|
|||
goto retry;
|
||||
}
|
||||
GST_DEBUG_OBJECT (alsa, "buffer time %u", buffer_time);
|
||||
alsa->buffer_time = buffer_time;
|
||||
}
|
||||
if (period_time != -1 && !alsa->iec958) {
|
||||
/* set the period time */
|
||||
|
@ -504,6 +505,7 @@ retry:
|
|||
goto retry;
|
||||
}
|
||||
GST_DEBUG_OBJECT (alsa, "period time %u", period_time);
|
||||
alsa->period_time = period_time;
|
||||
}
|
||||
|
||||
/* Set buffer size and period size manually for SPDIF */
|
||||
|
|
Loading…
Reference in a new issue