better handling for end of files, use the size of the data chunk in the wave file instead of EOF, handle files that don't have an even number of frames by padding the last frame. git-svn-id: http://svn.xiph.org/trunk/speex@4206 0101bb08-14d6-0310-b084-bc0e0c8e3800