mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
audiodecoder: Fix compile with ENABLE_FFMPEGDEC
This commit is contained in:
@@ -36,8 +36,15 @@
|
||||
#ifndef __AUDIO_METADATA__
|
||||
#define __AUDIO_METADATA__
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
|
||||
#ifndef ENABLE_FFMPEGDEC
|
||||
#include <mad.h>
|
||||
#endif
|
||||
|
||||
class CAudioMetaData
|
||||
{
|
||||
@@ -69,8 +76,10 @@ public:
|
||||
unsigned int bitrate; /* overall bitrate, vbr file: current bitrate */
|
||||
unsigned int avg_bitrate; /* average bitrate in case of vbr file */
|
||||
unsigned int samplerate;
|
||||
#ifndef ENABLE_FFMPEGDEC
|
||||
enum mad_layer layer;
|
||||
enum mad_mode mode;
|
||||
#endif
|
||||
time_t total_time;
|
||||
long audio_start_pos; /* position of first audio frame */
|
||||
bool vbr;
|
||||
|
Reference in New Issue
Block a user