mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-05 04:06:34 -05:00
use-case: Add new LatencyOffsetMs field
Some drivers do not report accurate latencies. Add a LatencyOffsetMs UCM Value allow adding a static offset to the reported latency. Signed-off-by: Li-Yu Yu <aaronyu@google.com>
This commit is contained in:
parent
b7389e2e2e
commit
c228b946af
1 changed files with 4 additions and 0 deletions
|
|
@ -404,6 +404,10 @@ int snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr,
|
|||
* to e.g. automatically mute speakers when headphones are plugged in,
|
||||
* but that's application policy configuration that doesn't belong
|
||||
* to UCM configuration files.
|
||||
* - LatencyOffsetMs
|
||||
* The extra latency of the device, in milliseconds.
|
||||
* This field is meant as a workaround for drivers that do not report
|
||||
* an accurate latency, but with a constant offset.
|
||||
* - MinBufferLevel
|
||||
* - This is used on platform where reported buffer level is not accurate.
|
||||
* E.g. "512", which holds 512 samples in device buffer. Note: this will
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue