-
Notifications
You must be signed in to change notification settings - Fork 1
ALSA asoc tester
License
amouiche/atest
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
atest is a test software for checking ALSA Asoc drivers concerning the proper frame generation and capture: On playback side: - frames written from userland are correctly generated on PCM bus, without channel slipping especially when handling more than 2 channels - no unexpected samples are introduced On capture side: - recording with good channels order - no other samples than silence or the expected samples some scenario: 1) with a hardware loopback of the PCM bus on alsa device 'foo', testing during 10s atest -D foo -r 48000 -c 4 -d 10 capture play if [ $? -ne 0 ]; then echo "errors"; fi 2) the same, but simulating xruns on playback side atest -D foo -r 48000 -c 4 -d 10 capture play -x 1000 if [ $? -ne 0 ]; then echo "errors"; fi 3) Connecting 'foo' alsa device output to the 'bar' alsa input. atest -D foo -r 48000 -c 4 -d 10 play -r 1000,500 & atest -D bar -r 48000 -c 4 -d 10 capture if [ $? -ne 0 ]; then echo "errors"; fi building: --------- First, Make sure you have the required tools to do the build: sudo apt-get install automake libasound2-dev libev-dev Then do: . bootstrap ./configure make And that should give you the atest executable.
About
ALSA asoc tester
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published