Re: ALSA analog audio loopback test tool (atest)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ulrich,

On Tue, Nov 15, 2016 at 8:56 PM, Ulrich Hecht <ulrich.hecht@xxxxxxxxx> wrote:
> Hi!
>
> I have just pushed atest (https://github.com/uli/atest). It's a tool
> to automatically verify operation of analog audio hardware remotely
> (i.e. without being able to listen to the output) using a loopback
> cable between the analog audio input and output.
>
> It works by sending a message encoded by a HAM radio codec (Q15X25)
> out on the output and decoding whatever arrives at the input. It sends
> a different message on every channel and can thus detect if channels
> are swapped around.
>
> Details on using it (especially on how to set up the mixers) can be
> found in the README file. Have fun!

Thanks for your efforts! Quick question, the dependency on zlib seems
to come from using adler32() for checksum comparison. In the code you
seem to compare the total amount of data anyway, so I guess the
checksum seems to be there to get some early notification about
potential mismatch. The potential error will be discovered using the
full-data-comparison later on anyway. I'm not sure if that's the way
the code works, but if so then it should be easy to reduce the number
of dependencies by simply dropping the checksum code. Does that make
sense to you?

Cheers,

/ magnus



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux