MythTV
master
|
#include <mythplugins/mythmusic/mythmusic/flacencoder.h>
Public Member Functions | |
FlacEncoder (const QString &outfile, int qualitylevel, MusicMetadata *metadata) | |
~FlacEncoder () override | |
int | addSamples (int16_t *bytes, unsigned int len) override |
Public Member Functions inherited from Encoder | |
Encoder (QString outfile, int qualitylevel, MusicMetadata *metadata) | |
virtual | ~Encoder () |
virtual bool | isValid () |
Private Attributes | |
FLAC__StreamEncoder * | m_encoder {nullptr} |
unsigned int | m_sampleIndex {0} |
std::array< std::array< FLAC__int32, MAX_SAMPLES >, NUM_CHANNELS > | m_inputIn {} |
std::array< FLAC__int32 *, NUM_CHANNELS > | m_input {} |
Additional Inherited Members | |
Protected Attributes inherited from Encoder | |
const QString | m_outfile |
FILE * | m_out {nullptr} |
int | m_quality |
MusicMetadata * | m_metadata {nullptr} |
Definition at line 17 of file flacencoder.h.
FlacEncoder::FlacEncoder | ( | const QString & | outfile, |
int | qualitylevel, | ||
MusicMetadata * | metadata | ||
) |
Definition at line 20 of file flacencoder.cpp.
|
override |
Definition at line 73 of file flacencoder.cpp.
|
overridevirtual |
|
private |
Definition at line 25 of file flacencoder.h.
Referenced by addSamples(), FlacEncoder(), and ~FlacEncoder().
|
private |
Definition at line 26 of file flacencoder.h.
Referenced by addSamples().
|
private |
Definition at line 28 of file flacencoder.h.
Referenced by FlacEncoder().
|
private |
Definition at line 29 of file flacencoder.h.
Referenced by addSamples(), and FlacEncoder().