Complete definition of SfE_WVE_NO_WVE error message.

This commit is contained in:
Erik de Castro Lopo 2007-04-18 06:52:55 +10:00
parent bb59db8135
commit d554139673
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/wve.c src/common.h src/sndfile.c
Complete definition of SfE_WVE_NO_WVE error message.
2007-04-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/double64.c

View File

@ -559,6 +559,7 @@ enum
SFE_FLAC_BAD_SAMPLE_RATE,
SFE_FLAC_UNKOWN_ERROR,
SFE_WVE_NOT_WVE,
SFE_WVE_NO_PIPE,
SFE_MAX_ERROR /* This must be last in list. */

View File

@ -242,9 +242,11 @@ ErrorStruct SndfileErrors [] =
{ SFE_FLAC_BAD_SAMPLE_RATE, "Error : flac does not support this sample rate." },
{ SFE_FLAC_UNKOWN_ERROR , "Error : unkown error in flac decoder." },
{ SFE_WVE_NOT_WVE , "Error : not a WVE file." },
{ SFE_WVE_NO_PIPE , "Error : not able to operate on WVE files over a pipe." },
{ SFE_DWVW_BAD_BITWIDTH , "Error : Bad bit width for DWVW encoding. Must be 12, 16 or 24." },
{ SFE_G72X_NOT_MONO , "Error : G72x encoding does not support more than 1 channel." },
{ SFE_WVE_NO_PIPE , "Error : not able to operate on WVE files over a pipe." },
{ SFE_MAX_ERROR , "Maximum error number." },
{ SFE_MAX_ERROR + 1 , NULL }

View File

@ -28,8 +28,6 @@
#include "sfendian.h"
#include "common.h"
#define SFE_WVE_NOT_WVE 666
/*------------------------------------------------------------------------------
** Macros to handle big/little endian issues, and other magic numbers.
*/