We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 456d99f commit 31131a9Copy full SHA for 31131a9
src/AudioTools/AudioCodecs/CodecVorbis.h
@@ -107,7 +107,7 @@ class VorbisDecoder : public StreamingDecoder {
107
delay(1);
108
return true;
109
} else {
110
- if (result==-3){
+ if (result==0 || result==-3){
111
// data interruption
112
LOGD("copy: %ld - %s", result, readError(result));
113
@@ -178,6 +178,9 @@ class VorbisDecoder : public StreamingDecoder {
178
}
179
180
const char* readError(long error){
181
+ if (error>=0){
182
+ return "OK";
183
+ }
184
switch(error){
185
case OV_HOLE:
186
return "Interruption in the data";
0 commit comments