counting samples instead of frames in stream to fix timing issue

git-svn-id: http://svn.code.sf.net/p/cmusphinx/code/trunk@12668 94700074-3cef-4d97-a70e-9c8c206c02f5