|
kwave
18.07.70
|
#include <Encoder.h>


Public Member Functions | |
| Encoder () | |
| virtual | ~Encoder () |
| virtual Encoder * | instance ()=0 |
| virtual bool | encode (QWidget *widget, Kwave::MultiTrackReader &src, QIODevice &dst, const Kwave::MetaDataList &meta_data)=0 |
| virtual QList< Kwave::FileProperty > | supportedProperties () |
| virtual QList< Kwave::FileProperty > | unsupportedProperties (const QList< Kwave::FileProperty > &properties_to_check) |
Public Member Functions inherited from Kwave::CodecBase | |
| CodecBase () | |
| virtual | ~CodecBase () |
| virtual bool | supports (const QMimeType &mimetype) |
| virtual bool | supports (const QString &mimetype_name) |
| virtual QStringList | extensions (const QString &mimetype_name) const |
| virtual const QList< CodecBase::MimeType > | mimeTypes () |
| virtual const QList< Kwave::Compression::Type > | compressionTypes () |
| virtual void | addMimeType (const char *name, const QString &description, const char *patterns) |
| virtual void | addCompression (Kwave::Compression::Type compression) |
| virtual QString | mimeTypeOf (const QUrl &url) |
| Kwave::Encoder::Encoder | ( | ) |
Constructor
Definition at line 21 of file Encoder.cpp.
|
inlinevirtual |
|
pure virtual |
Encodes a signal into a stream of bytes.
| widget | a widget that can be used for displaying message boxes or dialogs |
| src | MultiTrackReader used as source of the audio data |
| dst | file or other source to receive a stream of bytes |
| meta_data | meta data of the file to save |
Implemented in Kwave::FlacEncoder, Kwave::MP3Encoder, Kwave::WavEncoder, Kwave::AsciiEncoder, and Kwave::OggEncoder.
Referenced by Kwave::MimeData::encode().

|
pure virtual |
Returns a new instance of the encoder
Implemented in Kwave::FlacEncoder, Kwave::MP3Encoder, Kwave::WavEncoder, Kwave::AsciiEncoder, and Kwave::OggEncoder.
Referenced by Kwave::CodecManager::encoder().

|
inlinevirtual |
Returns a list of supported file properties
Reimplemented in Kwave::FlacEncoder, Kwave::MP3Encoder, Kwave::WavEncoder, Kwave::AsciiEncoder, and Kwave::OggEncoder.
Definition at line 66 of file Encoder.h.
Referenced by unsupportedProperties().

|
virtual |
Returns a list of all properties within a list of properties which are not supported by this encoder
| properties_to_check | list of properties to check |
Definition at line 27 of file Encoder.cpp.
References Kwave::FileInfo::canLoadSave(), and supportedProperties().
Referenced by Kwave::K3BExportPlugin::saveBlocks(), and Kwave::SaveBlocksPlugin::start().

