vorbisencode.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_VORBISENCODE_H
00033 #define LL_VORBISENCODE_H
00034 
00035 const S32 LLVORBISENC_NOERR                        = 0; // no error
00036 const S32 LLVORBISENC_SOURCE_OPEN_ERR              = 1; // error opening source
00037 const S32 LLVORBISENC_DEST_OPEN_ERR                = 2; // error opening destination
00038 const S32 LLVORBISENC_WAV_FORMAT_ERR               = 3; // not a WAV
00039 const S32 LLVORBISENC_PCM_FORMAT_ERR               = 4; // not a PCM
00040 const S32 LLVORBISENC_MONO_ERR                     = 5; // can't do mono
00041 const S32 LLVORBISENC_STEREO_ERR                   = 6; // can't do stereo
00042 const S32 LLVORBISENC_MULTICHANNEL_ERR             = 7; // can't do stereo
00043 const S32 LLVORBISENC_UNSUPPORTED_SAMPLE_RATE      = 8; // unsupported sample rate
00044 const S32 LLVORBISENC_UNSUPPORTED_WORD_SIZE        = 9; // unsupported word size
00045 const S32 LLVORBISENC_CLIP_TOO_LONG                = 10; // source file is too long
00046 
00047 
00048 S32 check_for_invalid_wav_formats(const char *in_fname, char *error_msg);
00049 S32 encode_vorbis_file(const char *in_fname, const char *out_fname);
00050 S32 encode_vorbis_file_at(const char *in_fname, const char *out_fname, S32 bitrate);
00051 
00052 #endif
00053 

Generated on Thu Jul 1 06:10:03 2010 for Second Life Viewer by  doxygen 1.4.7