Added audio buffer. Solved a bug with the resampler when it is not needed.
assigned to @shernand
mentioned in commit 32e8d7cf
merged