{"push_id":784162076,"size":7,"distinct_size":7,"ref":"refs/heads/master","head":"55261688d596e34ab88c76b190ad3197dc0e1e9b","before":"0e864e1a3aaf79d451556064eb09052530a0a085","commits":[{"sha":"75dcd5ea4058b1e4dcf522ae129b5c555722bb00","author":{"email":"bbed86d72c25e6b3ab5887853a8b4755eac40c06@intel.com","name":"Lu, Han"},"message":"BAT: Add main structure\n\nBAT (Basic Audio Tester) is a simple command line utility intended\nto automate audio driver and sound server QA testing with no human\ninteraction.\n\nBAT works by playing an audio stream and capturing the same stream\nin either a digital or analog loopback. It then compares the\ncaptured stream to the original to detemine if the testcase passes\nor fails.\n\nBAT supports 4 working modes:\n  1. single line playback;\n  2. single line capture and analyze;\n  3. playback and capture in loop, and analyze captured data;\n  4. local analyze without actual playback or capture.\nBAT will analyse user input to decide which mode to use.\nBAT will create a thread for mode 1, 2 or 3, and will do spectrum\nanalyse for mode 2, 3 or 4.\n\nSigned-off-by: Lu, Han <han.lu@intel.com>\nSigned-off-by: Liam Girdwood <liam.r.girdwood@intel.com>\nSigned-off-by: Bernard Gautier <bernard.gautier@intel.com>","distinct":true,"url":"https://api.github.com/repos/hanlui/alsa-utils/commits/75dcd5ea4058b1e4dcf522ae129b5c555722bb00"},{"sha":"93b43c365fcffbd3330c6a02e6273878a189c9ee","author":{"email":"bbed86d72c25e6b3ab5887853a8b4755eac40c06@intel.com","name":"Lu, Han"},"message":"BAT: Add common definations and functions\n\nAdd common definations of macros and data structures; Add functions\nthat used by multiple components, such as wav file reading and writing.\n\nSigned-off-by: Lu, Han <han.lu@intel.com>\nSigned-off-by: Liam Girdwood <liam.r.girdwood@intel.com>\nSigned-off-by: Bernard Gautier <bernard.gautier@intel.com>","distinct":true,"url":"https://api.github.com/repos/hanlui/alsa-utils/commits/93b43c365fcffbd3330c6a02e6273878a189c9ee"},{"sha":"176e6df772b78a4678bcfa00266894f9fa67216e","author":{"email":"bbed86d72c25e6b3ab5887853a8b4755eac40c06@intel.com","name":"Lu, Han"},"message":"BAT: Add playback and record functions\n\nAdd functions as main loop of playback thread and record thread.\nThe functions access pcm hardware through ALSA APIs.\n\nSigned-off-by: Lu, Han <han.lu@intel.com>\nSigned-off-by: Liam Girdwood <liam.r.girdwood@intel.com>\nSigned-off-by: Bernard Gautier <bernard.gautier@intel.com>","distinct":true,"url":"https://api.github.com/repos/hanlui/alsa-utils/commits/176e6df772b78a4678bcfa00266894f9fa67216e"},{"sha":"ef48c9d759e681eee56b3e0d6427dc3776f2af8e","author":{"email":"bbed86d72c25e6b3ab5887853a8b4755eac40c06@intel.com","name":"Lu, Han"},"message":"BAT: Add signal generator\n\nAdd function that generates sine wavform through math lib.\nThe waveform can be used as source for playback or analyses.\n\nSigned-off-by: Lu, Han <han.lu@intel.com>\nSigned-off-by: Liam Girdwood <liam.r.girdwood@intel.com>\nSigned-off-by: Bernard Gautier <bernard.gautier@intel.com>","distinct":true,"url":"https://api.github.com/repos/hanlui/alsa-utils/commits/ef48c9d759e681eee56b3e0d6427dc3776f2af8e"},{"sha":"94cf7f33dbe5f453b3624f89e85fee4b2ba073e5","author":{"email":"bbed86d72c25e6b3ab5887853a8b4755eac40c06@intel.com","name":"Lu, Han"},"message":"BAT: Add converting functions\n\nAdd functions that converting audio samples to float number for analyse,\nand functions that converting float data to audio samples for playback.\n\nSigned-off-by: Lu, Han <han.lu@intel.com>\nSigned-off-by: Liam Girdwood <liam.r.girdwood@intel.com>\nSigned-off-by: Bernard Gautier <bernard.gautier@intel.com>","distinct":true,"url":"https://api.github.com/repos/hanlui/alsa-utils/commits/94cf7f33dbe5f453b3624f89e85fee4b2ba073e5"},{"sha":"9b48ba3004c63714e3152507c83ef509114f9956","author":{"email":"bbed86d72c25e6b3ab5887853a8b4755eac40c06@intel.com","name":"Lu, Han"},"message":"BAT: Add spectrum analyze functions\n\nAdd functions that detecting signal frequency through spectrum analyze.\n\nThe analyze function reads data from wav file, run fft against the data\nto get magnitude of frequency vectors, and then calculates the average\nvalue and standard deviation of frequency vectors. After that, we define\na threashold:\n\n    threashold = 3 * standard_deviation + average_value\n\nFrequencies with amplitude larger than threshold will be recognized as\na peak, and the frequency with largest peak value will be recognized as\na detected frequency.\n\nBAT then compares the detected frequency to target frequency, to decide\nif the detecting passes or fails.\n\nSigned-off-by: Lu, Han <han.lu@intel.com>\nSigned-off-by: Liam Girdwood <liam.r.girdwood@intel.com>\nSigned-off-by: Bernard Gautier <bernard.gautier@intel.com>","distinct":true,"url":"https://api.github.com/repos/hanlui/alsa-utils/commits/9b48ba3004c63714e3152507c83ef509114f9956"},{"sha":"55261688d596e34ab88c76b190ad3197dc0e1e9b","author":{"email":"bbed86d72c25e6b3ab5887853a8b4755eac40c06@intel.com","name":"Lu, Han"},"message":"BAT: Add Makefile and configures\n\nAdd Makefile and configures that enable BAT on alsa-utils\n\nSigned-off-by: Lu, Han <han.lu@intel.com>\nSigned-off-by: Liam Girdwood <liam.r.girdwood@intel.com>\nSigned-off-by: Bernard Gautier <bernard.gautier@intel.com>","distinct":true,"url":"https://api.github.com/repos/hanlui/alsa-utils/commits/55261688d596e34ab88c76b190ad3197dc0e1e9b"}]}