comparison libmpcodecs/ad_mpg123.c @ 31981:ae5a36acc995

Add the proper include instead of declaring the fakemono variable extern.
author diego
date Tue, 07 Sep 2010 23:46:14 +0000
parents 796b778e2411
children a93891202051
comparison
equal deleted inserted replaced
31980:4be58d992308 31981:ae5a36acc995
23 #include <unistd.h> 23 #include <unistd.h>
24 24
25 #include "config.h" 25 #include "config.h"
26 26
27 #include "ad_internal.h" 27 #include "ad_internal.h"
28 #include "dec_audio.h"
28 29
29 static const ad_info_t info = { 30 static const ad_info_t info = {
30 "MPEG 1.0/2.0/2.5 layers I, II, III", 31 "MPEG 1.0/2.0/2.5 layers I, II, III",
31 "mpg123", 32 "mpg123",
32 "Thomas Orgis", 33 "Thomas Orgis",
69 #define AD_MPG123_PACKET 70 #define AD_MPG123_PACKET
70 /* #define AD_MPG123_SEEKBUFFER */ 71 /* #define AD_MPG123_SEEKBUFFER */
71 72
72 /* Switch for updating bitrate info of VBR files. Not essential. */ 73 /* Switch for updating bitrate info of VBR files. Not essential. */
73 #define AD_MPG123_MEAN_BITRATE 74 #define AD_MPG123_MEAN_BITRATE
74
75 /* Funny thing, that. I assume I shall use it for selecting mpg123 channels.
76 * Please correct me if I guessed wrong. */
77 extern int fakemono;
78 75
79 struct ad_mpg123_context { 76 struct ad_mpg123_context {
80 mpg123_handle *handle; 77 mpg123_handle *handle;
81 #ifdef AD_MPG123_MEAN_BITRATE 78 #ifdef AD_MPG123_MEAN_BITRATE
82 /* Running mean for bit rate, stream length estimation. */ 79 /* Running mean for bit rate, stream length estimation. */