History

Add new error value SRC_ERR_SINC_PREPARE_DATA_BAD_LEN.

Erik de Castro Lopo committed 17 years ago

Commit cc3f1611 parent ab986772 files · +3 −0Browse files

Unified · Split

2 files
  1. src/common.h +1 −0
  2. src/samplerate.c +2 −0
src/common.h+1−0
@@ -80,6 +80,7 @@ enum · 79 unmodified lines
8080 SRC_ERR_BAD_MODE,
8181 SRC_ERR_NULL_CALLBACK,
8282 SRC_ERR_NO_VARIABLE_RATIO,
83+ SRC_ERR_SINC_PREPARE_DATA_BAD_LEN,
8384
8485 /* This must be the last error number. */
8586 SRC_ERR_MAX_ERROR
src/samplerate.c+2−0
@@ -424,6 +424,8 @@ src_strerror (int error) · 423 unmodified lines
424424 return "Callback function pointer is NULL in src_callback_read ()." ;
425425 case SRC_ERR_NO_VARIABLE_RATIO :
426426 return "This converter only allows constant conversion ratios." ;
427+ case SRC_ERR_SINC_PREPARE_DATA_BAD_LEN :
428+ return "Internal error : Bad length in prepare_data ()." ;
427429
428430 case SRC_ERR_MAX_ERROR :
429431 return "Placeholder. No error defined for this error number." ;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t