Hi Kurt,
On 27 September 2011 20:46, Kurt Taylor kurt.taylor@linaro.org wrote:
These are really good ideas. I had started a discussion with Torez several months ago about an automated test for audio. My idea at the time was to use a sine wav at a particular frequency and use or hack one of the tuner/freq analysis apps to detect the frequency. If it was too garbled or distorted, it wouldnt recognize the frequency.
I think, too distorted sine-wave is an easy kill and most probably wouldn't even leave the developers desk. Usually when a developer calls it done, the driver plays clean enough audio.
In my experience, a commercial quality issue would show up in the form of random/rare phase jumps in the sine wave and/or stability in the long run. While I always tested it manually, I think it should be possible to write a simple "sine-verify" application(or an alsa plugin?) that would analyze the captured stream.
my two paise. -jassi