diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-05-29 16:39:17 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-07-05 19:44:11 +0100 |
commit | 21a60a4f4f6350c0d6ebdcdba573e447d06b1ea3 (patch) | |
tree | 20cdc96fc6d3861ad1b66f85bf90b7ffadd17b9c | |
parent | 550d05ffffb4023075daba425b018b8657824268 (diff) |
alsasink: Update internal buffer/period times with the values that were configured on the device
-rw-r--r-- | ext/alsa/gstalsasink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/alsa/gstalsasink.c b/ext/alsa/gstalsasink.c index 07864cdae..eb3314b7b 100644 --- a/ext/alsa/gstalsasink.c +++ b/ext/alsa/gstalsasink.c @@ -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 */ |