comparison avcodec.h @ 3123:fc43390719fc libavcodec

increase audio buffer to 1second of 48khz float audio
author alex
date Mon, 13 Feb 2006 12:00:27 +0000
parents 1d184d61e714
children 6bae70889b35
comparison
equal deleted inserted replaced
3122:d57bf6a15b04 3123:fc43390719fc
19 #define FFMPEG_VERSION "CVS" 19 #define FFMPEG_VERSION "CVS"
20 20
21 #define AV_STRINGIFY(s) AV_TOSTRING(s) 21 #define AV_STRINGIFY(s) AV_TOSTRING(s)
22 #define AV_TOSTRING(s) #s 22 #define AV_TOSTRING(s) #s
23 23
24 #define LIBAVCODEC_VERSION_INT ((51<<16)+(4<<8)+0) 24 #define LIBAVCODEC_VERSION_INT ((51<<16)+(5<<8)+0)
25 #define LIBAVCODEC_VERSION 51.4.0 25 #define LIBAVCODEC_VERSION 51.5.0
26 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT 26 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
27 27
28 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) 28 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
29 29
30 #define AV_NOPTS_VALUE int64_t_C(0x8000000000000000) 30 #define AV_NOPTS_VALUE int64_t_C(0x8000000000000000)
268 SAMPLE_FMT_FLT, ///< float 268 SAMPLE_FMT_FLT, ///< float
269 SAMPLE_FMT_DBL, ///< double 269 SAMPLE_FMT_DBL, ///< double
270 }; 270 };
271 271
272 /* in bytes */ 272 /* in bytes */
273 #define AVCODEC_MAX_AUDIO_FRAME_SIZE 131072 273 #define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio
274 274
275 /** 275 /**
276 * Required number of additionally allocated bytes at the end of the input bitstream for decoding. 276 * Required number of additionally allocated bytes at the end of the input bitstream for decoding.
277 * this is mainly needed because some optimized bitstream readers read 277 * this is mainly needed because some optimized bitstream readers read
278 * 32 or 64 bit at once and could read over the end<br> 278 * 32 or 64 bit at once and could read over the end<br>