kwave
18.07.70
|
#include <OggEncoder.h>
Public Member Functions | |
OggEncoder () | |
virtual | ~OggEncoder () Q_DECL_OVERRIDE |
virtual Kwave::Encoder * | instance () Q_DECL_OVERRIDE |
virtual bool | encode (QWidget *widget, Kwave::MultiTrackReader &src, QIODevice &dst, const Kwave::MetaDataList &meta_data) Q_DECL_OVERRIDE |
virtual QList< Kwave::FileProperty > | supportedProperties () Q_DECL_OVERRIDE |
![]() | |
Encoder () | |
virtual | ~Encoder () |
virtual QList< Kwave::FileProperty > | unsupportedProperties (const QList< Kwave::FileProperty > &properties_to_check) |
![]() | |
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) |
Private Attributes | |
Kwave::VorbisCommentMap | m_comments_map |
Definition at line 34 of file OggEncoder.h.
Kwave::OggEncoder::OggEncoder | ( | ) |
Constructor
Definition at line 42 of file OggEncoder.cpp.
References REGISTER_COMPRESSION_TYPE_OGG_OPUS, REGISTER_COMPRESSION_TYPE_OGG_VORBIS, REGISTER_OGG_OPUS_MIME_TYPES, and REGISTER_OGG_VORBIS_MIME_TYPES.
|
virtual |
|
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 |
Implements Kwave::Encoder.
Definition at line 74 of file OggEncoder.cpp.
References Kwave::FileInfo::contains(), Kwave::MessageBox::error(), Kwave::Compression::fromInt(), Kwave::FileInfo::get(), Kwave::INF_COMPRESSION, name, Kwave::Compression::NONE, Kwave::Compression::OGG_OPUS, and Kwave::Compression::OGG_VORBIS.
|
virtual |
Returns a new instance of the encoder
Implements Kwave::Encoder.
Definition at line 62 of file OggEncoder.cpp.
|
virtual |
Returns a list of supported file properties
Reimplemented from Kwave::Encoder.
Definition at line 68 of file OggEncoder.cpp.
References m_comments_map.
|
private |
map for translating Opus comments to Kwave FileInfo
Definition at line 68 of file OggEncoder.h.
Referenced by supportedProperties().