New issue
Advanced search Search tips

Issue 632924 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Add alsa API test for snd_pcm_htimestamp

Project Member Reported by dgreid@chromium.org, Jul 30 2016

Issue description

When moving to low latency, we'll need to use this function, but we haven't tested it.

Can we get an API test similar to the ones added for rewind recently?
 
Yes that should be doable.
A simple test scenario can be
1. Fill to half of buffer
2. Query avail and time stamp.
3. Wait for some periods.
4. Quaery avail and time stamp.
5. Check the rate computed by difference between two query and see if that rate is reasonable.
Those steps seem like a great place to start.

Comment 3 by dgreid@chromium.org, Oct 20 2016

Labels: -Pri-2 Pri-3
Status: Assigned (was: Untriaged)

Sign in to add a comment