Declare our ALSA virtual ring buffer as atomic
Declare our ALSA virtual ring buffer as atomic

The volatile keyword is not meant to be used for thread synchronization.
In order to make our virtual ring buffer to be up to date in application
main thread and the IO thread, we need to declare it as atomic.

Arkq/bluez-alsa,Arkq/bluez-alsa,Arkq/bluez-alsa