Fixed a bug whereby the last part of the file may be play twice. Additionally changed the buffer size to the sample size of the wav file. This is so that there is little delay when pausing. Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>