Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext: alsa: Set buffer time after period time
This because underlying driver may have constraint on buffer size to be dependent on period size, so period time needs to be set first. For e.g. Xilinx ASoC driver requires buffer size to be multiple of period size for it's DMA operation. alsa-utils also set period time first as seen in below commit : alsa-project/alsa-utils@9b621ee Tested it on zcu106 board with HDMI based record and playback. Also tested on Intel PC using Logitech C920 Webcam mic and ALC887-VD Analog for playback. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1040>
- Loading branch information
Devarsh Thakkar
authored and
GStreamer Marge Bot
committed
Mar 11, 2021
1 parent
01d1bbd
commit 9759810
Showing
2 changed files
with
85 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters