adjust capture period size and count

This fixes google sound search, camcorder audio, and possibly other input streams
Credit: sbrissen