Hi Takashi,
Thanks for the reply. I'm very glad that you like it. Do you have any strong reason for moving it into ALSA upstream? If not, I would like to keep it in chromium code base. It's also easy for developers to send patches via gerrit (chromium-review.googlesource.com). I can be responsible for reviewing these changes. If installing from the source code is not quick enough, we can create the new package for it. Besides, it is easier for me to maintain this tool.
Best, Yu-Hsuan
Takashi Iwai tiwai@suse.de 於 2019年9月5日 週四 下午11:17寫道:
On Wed, 04 Sep 2019 06:29:30 +0200, Yu-Hsuan Hsu wrote:
Hi all,
I have created an new tool "Alsa conformance test"(
https://chromium.googlesource.com/chromiumos/platform/audiotest/+/master/als... ),
which is used for verifying ALSA drivers. Here are some main functions it can measure:
- Correctness of hw_params
- Stability of rate
- Stability of step
- Runtime of each ALSA API
- Underrun and Overrun
I recommend to use the script "alsa_conformance_test.py" inside. Just
give
it a device and then it will test the below functions automatically.
- To make sure whether all the parameters provided by an ALSA driver can
be used. 2. To make sure whether the measured rate is the same as the expected
rate.
We have used this tool to find out many issues in ChromeOS. I hope it can help development in Linux too. If you have any problems or want more features, please create a bug in crbug.com and assign to me ( yuhsuan@chromium.org). Thanks!
Great, it's something I wanted to see for long time. Let us know if you'd like to put this to ALSA upstream.
thanks,
Takashi