This repository has been archived by the owner on Nov 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alsa: clamp the period size to something sensible
some clients (sweep) want to negotiate the smallest possible period size we can support, which is expressed in bytes and independent of samplerate, format and number of channels. For files with high samplerate and channelcount, this results in periods of 8 frames, which is too small to handle. Instead round up the period size to something we can likely handle, taking into account the samplerate and number of channels.
- Loading branch information
Showing
1 changed file
with
29 additions
and
15 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