audio: fix audio recording

With current code audio recording with all audio backends
except PulseAudio and DirectSound is broken. The generic audio
recording buffer management forgot to update the current read
position after a read.

Fixes: ff095e5231 "audio: api for mixeng code free backends"

Signed-off-by: Volker Rümelin <>
Reviewed-by: Zoltán Kővágó <>
Signed-off-by: Gerd Hoffmann <>
1 file changed