Cubeb uses internal rate resampler and it's not being flushed during call to stream_stop. This results in noticeable click when emulator is unpaused. Reset last sample buffer on pause for all backends.
Callback based audio update. Upgraded common backend interface. Added Cubeb backend. Support multiple audio providers. Dropped pulse, alsa, openal backends.