KVIrc  4.9.2
DeveloperAPIs
Macros | Functions
MpInterface.cpp File Reference
#include "MpInterface.h"
#include "MpMp3.h"
#include "KviOptions.h"
#include "KviLocale.h"
#include <QTextCodec>

Macros

#define SCAN_MP3_FILE
 
#define SCAN_MP3_FILE_RET_INT
 

Functions

static QTextCodec * mediaplayer_get_codec ()
 

Macro Definition Documentation

#define SCAN_MP3_FILE
Value:
QString f = getLocalFile(); \
if(f.isEmpty()) \
return QString(); \
mp3info mp3; \
if(!scan_mp3_file(f, &mp3)) \
return QString(); \
QTextCodec * pCodec; \
static QTextCodec * mediaplayer_get_codec()
Definition: MpInterface.cpp:33
#define f
Definition: detector.cpp:70
if(m_pFile) delete m_pFile
bool scan_mp3_file(QString &, mp3info *i)
Definition: MpMp3.cpp:447

Referenced by MpInterface::album(), MpInterface::artist(), MpInterface::comment(), MpInterface::genre(), MpInterface::title(), and MpInterface::year().

#define SCAN_MP3_FILE_RET_INT
Value:
QString f = getLocalFile(); \
if(f.isEmpty()) \
return -1; \
mp3info mp3; \
if(!scan_mp3_file(f, &mp3)) \
return -1;
#define f
Definition: detector.cpp:70
if(m_pFile) delete m_pFile
bool scan_mp3_file(QString &, mp3info *i)
Definition: MpMp3.cpp:447

Referenced by MpInterface::bitRate(), MpInterface::channels(), and MpInterface::sampleRate().

Function Documentation

static QTextCodec* mediaplayer_get_codec ( )
static