From b2ed26cf7643a9eeb0dc4782ed26b26f3eee21f0 Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 21 Jul 2023 07:39:07 +1000 Subject: [PATCH] Fix an error with setting of the cursor when seeking a Vorbis file. Public issue https://github.com/mackron/miniaudio/issues/707 --- miniaudio.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index 1c69fa39..d674e930 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -63279,8 +63279,6 @@ MA_API ma_result ma_stbvorbis_seek_to_pcm_frame(ma_stbvorbis* pVorbis, ma_uint64 } result = ma_stbvorbis_read_pcm_frames(pVorbis, buffer, framesToRead, &framesRead); - pVorbis->cursor += framesRead; - if (result != MA_SUCCESS) { return result; }