Jordan Kagan
2014-10-20 19:33:45 UTC
Hello,
I encountered an issue with using the arecord binary in this most recent
version. When using the '-d' duration flag, the program will continue to
open files AFTER the duration has expired. The issue occurs when the
capture() while loop hits the break due to a value returned by pcm_read().
When the while loop is exited, the program hits the do-while loop and
continues to open files indefinitely. If rcount is returned from
pcm_read() instead of "result", the problem does not occur.
Thanks,
Jordan
I encountered an issue with using the arecord binary in this most recent
version. When using the '-d' duration flag, the program will continue to
open files AFTER the duration has expired. The issue occurs when the
capture() while loop hits the break due to a value returned by pcm_read().
When the while loop is exited, the program hits the do-while loop and
continues to open files indefinitely. If rcount is returned from
pcm_read() instead of "result", the problem does not occur.
Thanks,
Jordan