please refer to the ADC driver guide on wiki.
Notice this message:" Since our driver is not trigger based we need to modify this application to bypass the trigger detection. Please apply patch Media:Generic_buffer.patch on top of the application generic_buffer.c in order to bypass the trigger conditions. " .
Click the link Media:Generic_buffer.patch ,and you can find how to modify the test file.The '-'means remove the row,and the '+'means add code on the row.