Fix for AccessViolationException, buffer overrun, and small samples.

Issues #1 and #2 in GitHub.
Merge branch 'master' of https://github.com/nokia-developer/audio-recorder