@@ -171,6 +171,8 @@ const char *aacdec_strerror(AAC_DECODER_ERROR err) {
171
171
return "Success" ;
172
172
case AAC_DEC_OUT_OF_MEMORY :
173
173
return "Out of memory" ;
174
+ case AAC_DEC_UNKNOWN :
175
+ return "Unknown error" ;
174
176
case AAC_DEC_TRANSPORT_SYNC_ERROR :
175
177
return "Transport sync error" ;
176
178
case AAC_DEC_NOT_ENOUGH_BITS :
@@ -197,6 +199,8 @@ const char *aacdec_strerror(AAC_DECODER_ERROR err) {
197
199
return "Unsupported parameter" ;
198
200
case AAC_DEC_NEED_TO_RESTART :
199
201
return "Restart required" ;
202
+ case AAC_DEC_OUTPUT_BUFFER_TOO_SMALL :
203
+ return "Output buffer too small" ;
200
204
case AAC_DEC_TRANSPORT_ERROR :
201
205
return "Transport error" ;
202
206
case AAC_DEC_PARSE_ERROR :
@@ -264,14 +268,15 @@ const char *aacenc_strerror(AACENC_ERROR err) {
264
268
return "Transport library initialization error" ;
265
269
case AACENC_INIT_META_ERROR :
266
270
return "Metadata library initialization error" ;
271
+ case AACENC_INIT_MPS_ERROR :
272
+ return "MPS library initialization error" ;
267
273
case AACENC_ENCODE_ERROR :
268
274
return "Encoding error" ;
269
275
case AACENC_ENCODE_EOF :
270
276
return "End of file" ;
271
- default :
272
- debug ("Unknown error code: %#x" , err );
273
- return "Unknown error" ;
274
277
}
278
+ debug ("Unknown error code: %#x" , err );
279
+ return "Unknown error" ;
275
280
}
276
281
#endif
277
282
@@ -322,12 +327,13 @@ const char *lc3plus_strerror(LC3PLUS_Error err) {
322
327
return "Invalid cutoff frequency" ;
323
328
case LC3PLUS_PADDING_ERROR :
324
329
return "Padding error" ;
330
+ case LC3PLUS_LFE_MODE_NOT_SUPPORTED :
331
+ return "LFE not supported" ;
325
332
case FRAMESIZE_ERROR :
326
333
return "Framesize error" ;
327
- default :
328
- debug ("Unknown error code: %#x" , err );
329
- return "Unknown error" ;
330
334
}
335
+ debug ("Unknown error code: %#x" , err );
336
+ return "Unknown error" ;
331
337
}
332
338
#endif
333
339
@@ -400,10 +406,9 @@ const char *ldacBT_strerror(int err) {
400
406
return "EQMID limited" ;
401
407
case LDACBT_ERR_DEC_CONFIG_UPDATED :
402
408
return "Configuration updated" ;
403
- default :
404
- debug ("Unknown error code: %#x (API: %u, handle: %u, block: %u)" ,
405
- err , LDACBT_API_ERR (err ), LDACBT_HANDLE_ERR (err ), LDACBT_BLOCK_ERR (err ));
406
- return "Unknown error" ;
407
409
}
410
+ debug ("Unknown error code: %#x (API: %u, handle: %u, block: %u)" ,
411
+ err , LDACBT_API_ERR (err ), LDACBT_HANDLE_ERR (err ), LDACBT_BLOCK_ERR (err ));
412
+ return "Unknown error" ;
408
413
}
409
414
#endif
0 commit comments