End to end audio testing prototype on pandaboard

Registered by Kurt Taylor

While for some hardware ports it's hard to test whether a port really gets a proper signal etc, we feel for audio this might be
relatively straight forward: we could connect a cable from jack out to jack in in the lab and then have a testcase that plays something using aplay and checks that he gets proper input/signal on the jack in.

This could be done on alsa level and later pa level (for ubuntu).

The thought here would be to programmatically detect silence via hardwired loopback, then a test tone at a specific frequency(s), then silence again, all in a scriptable command line driven tool.

This blueprint is the second in the series - to port the command line tool for Ubuntu to pandaboard. The application will need to use the alsa-lib for Ubuntu and tinyalsa.

Blueprint information

Status:
Complete
Approver:
Tom Gall
Priority:
Medium
Drafter:
Kurt Taylor
Direction:
Approved
Assignee:
Kurt Taylor
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.02
Started by
Kurt Taylor
Completed by
Kurt Taylor

Related branches

Sprints

Whiteboard

[ibiris - 16Dec2011]: since this is blocked it is now targeted as part of the 12.01 release
[tom-gall - 18Jan2012]: marking this unblocked. Panda audio over hdmi is validated as working

Meta:
Roadmap id: LINUX2011-ENABLEMENT-TESTING

Headline: Unattended test application for testing the end to end audio stack for Ubuntu on a pandaboard

Acceptance Criteria: Run the test application on Ubuntu LEB image for a panda, verify successful test results for working and non-working test cases.

Output: Verification, patches to Linaro git, tag for release

(?)

Work Items

Work items:
Create pandaboard images with working audio from Ubuntu LEB: DONE
Modify testfreq to allow for compile time choice for tinyalsa and alsa-lib open and read utils: DONE
Test loopback cable case on pandaboard with both executables for Ubuntu: DONE

This blueprint contains Public information 
Everyone can see this information.