MythTV  master
Classes | Macros | Functions | Variables
cddecoder.cpp File Reference
#include "cddecoder.h"
#include <cstdlib>
#include <cstring>
#include <unistd.h>
#include <QIODevice>
#include <QFile>
#include <QObject>
#include <QString>
#include <cdio/logging.h>
#include <audiooutput.h>
#include <mythcontext.h>
#include <musicmetadata.h>
#include <libavcodec/avcodec.h>
#include "constants.h"
#include "cddb.h"
Include dependency graph for cddecoder.cpp:

Go to the source code of this file.

Classes

class  StCdioDevice
 

Macros

#define DO_NOT_WANT_PARANOIA_COMPATIBILITY
 
#define CDEXT   ".cda"
 
#define CDTEXT   0
 

Functions

static void logger (cdio_log_level_t level, const char message[])
 
static CdIo_t * openCdio (const QString &name)
 
static Cddb::TocGetToc (CdIo_t *cdio, Cddb::Toc &toc)
 

Variables

const unsigned kSamplesPerSec = 44100
 
static lsn_t s_lastAudioLsn
 

Macro Definition Documentation

◆ DO_NOT_WANT_PARANOIA_COMPATIBILITY

#define DO_NOT_WANT_PARANOIA_COMPATIBILITY

Definition at line 1 of file cddecoder.cpp.

◆ CDEXT

#define CDEXT   ".cda"

Definition at line 33 of file cddecoder.cpp.

◆ CDTEXT

#define CDTEXT   0

Function Documentation

◆ logger()

static void logger ( cdio_log_level_t  level,
const char  message[] 
)
static

◆ openCdio()

static CdIo_t* openCdio ( const QString &  name)
static

Definition at line 57 of file cddecoder.cpp.

Referenced by CdDecoder::initialize().

◆ GetToc()

static Cddb::Toc& GetToc ( CdIo_t *  cdio,
Cddb::Toc toc 
)
static

Definition at line 500 of file cddecoder.cpp.

Referenced by CdDecoder::getMetadata().

Variable Documentation

◆ kSamplesPerSec

const unsigned kSamplesPerSec = 44100

Definition at line 34 of file cddecoder.cpp.

Referenced by CdDecoder::initialize(), and CdDecoder::run().

◆ s_lastAudioLsn

lsn_t s_lastAudioLsn
static

Definition at line 499 of file cddecoder.cpp.

Referenced by CdDecoder::getMetadata(), and GetToc().