Better audio buffer implementation.