From 8453224119a4c5ff7d47d9cd4924d0b1ccb99b3a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 25 Nov 2017 18:00:06 +0000 Subject: copy 1.2 branch to trunk git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7772 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/opus/CMakeLists.txt | 25 +--- src/plugins/Input/opus/decoderopusfactory.cpp | 8 +- src/plugins/Input/opus/decoderopusfactory.h | 1 + src/plugins/Input/opus/opus.pro | 11 +- src/plugins/Input/opus/opusfile.cpp | 126 ---------------- src/plugins/Input/opus/opusfile.h | 106 -------------- src/plugins/Input/opus/opusmetadatamodel.cpp | 27 ++-- src/plugins/Input/opus/opusmetadatamodel.h | 2 +- src/plugins/Input/opus/opusproperties.cpp | 161 --------------------- src/plugins/Input/opus/opusproperties.h | 96 ------------ src/plugins/Input/opus/replaygainreader.cpp | 6 +- src/plugins/Input/opus/tdebug.cpp | 55 ------- src/plugins/Input/opus/tdebug.h | 71 --------- .../Input/opus/translations/opus_plugin_bg.ts | 31 ++-- .../Input/opus/translations/opus_plugin_cs.ts | 31 ++-- .../Input/opus/translations/opus_plugin_de.ts | 31 ++-- .../Input/opus/translations/opus_plugin_el.ts | 31 ++-- .../Input/opus/translations/opus_plugin_en.ts | 31 ++-- .../Input/opus/translations/opus_plugin_es.ts | 31 ++-- .../Input/opus/translations/opus_plugin_fi.ts | 31 ++-- .../Input/opus/translations/opus_plugin_fr.ts | 31 ++-- .../Input/opus/translations/opus_plugin_gl_ES.ts | 31 ++-- .../Input/opus/translations/opus_plugin_he.ts | 31 ++-- .../Input/opus/translations/opus_plugin_hu.ts | 31 ++-- .../Input/opus/translations/opus_plugin_id.ts | 31 ++-- .../Input/opus/translations/opus_plugin_it.ts | 31 ++-- .../Input/opus/translations/opus_plugin_ja.ts | 31 ++-- .../Input/opus/translations/opus_plugin_kk.ts | 31 ++-- .../Input/opus/translations/opus_plugin_lt.ts | 31 ++-- .../Input/opus/translations/opus_plugin_nl.ts | 31 ++-- .../Input/opus/translations/opus_plugin_pl_PL.ts | 31 ++-- .../Input/opus/translations/opus_plugin_pt.ts | 31 ++-- .../Input/opus/translations/opus_plugin_pt_BR.ts | 31 ++-- .../Input/opus/translations/opus_plugin_ru.ts | 31 ++-- .../Input/opus/translations/opus_plugin_sk.ts | 31 ++-- .../Input/opus/translations/opus_plugin_sr_BA.ts | 31 ++-- .../Input/opus/translations/opus_plugin_sr_RS.ts | 31 ++-- .../Input/opus/translations/opus_plugin_tr.ts | 31 ++-- .../Input/opus/translations/opus_plugin_uk_UA.ts | 31 ++-- .../Input/opus/translations/opus_plugin_zh_CN.ts | 31 ++-- .../Input/opus/translations/opus_plugin_zh_TW.ts | 31 ++-- 41 files changed, 391 insertions(+), 1172 deletions(-) delete mode 100644 src/plugins/Input/opus/opusfile.cpp delete mode 100644 src/plugins/Input/opus/opusfile.h delete mode 100644 src/plugins/Input/opus/opusproperties.cpp delete mode 100644 src/plugins/Input/opus/opusproperties.h delete mode 100644 src/plugins/Input/opus/tdebug.cpp delete mode 100644 src/plugins/Input/opus/tdebug.h (limited to 'src/plugins/Input/opus') diff --git a/src/plugins/Input/opus/CMakeLists.txt b/src/plugins/Input/opus/CMakeLists.txt index b6f5f1219..f443ef901 100644 --- a/src/plugins/Input/opus/CMakeLists.txt +++ b/src/plugins/Input/opus/CMakeLists.txt @@ -1,20 +1,7 @@ project(libopus) -# qt plugin -ADD_DEFINITIONS( -Wall ) -ADD_DEFINITIONS(${QT_DEFINITIONS}) -ADD_DEFINITIONS(-DQT_PLUGIN) -ADD_DEFINITIONS(-DQT_NO_DEBUG) -ADD_DEFINITIONS(-DQT_SHARED) -ADD_DEFINITIONS(-DQT_THREAD) - include_directories(${CMAKE_CURRENT_BINARY_DIR}) -SET(QT_INCLUDES - ${QT_INCLUDES} - ${CMAKE_CURRENT_SOURCE_DIR}/../../../ -) - # libqmmp include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../) link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp) @@ -31,26 +18,20 @@ SET(libopus_SRCS decoderopusfactory.cpp opusmetadatamodel.cpp replaygainreader.cpp - opusfile.cpp - opusproperties.cpp - tdebug.cpp ) SET(libopus_HDRS decoder_opus.h replaygainreader.h - opusfile.h - opusproperties.h - tdebug.h ) SET(libopus_RCCS translations/translations.qrc) -QT4_ADD_RESOURCES(libopus_RCC_SRCS ${libopus_RCCS}) +QT5_ADD_RESOURCES(libopus_RCC_SRCS ${libopus_RCCS}) # user interface -QT4_WRAP_UI(libopus_UIS_H ${libopus_UIS}) +QT5_WRAP_UI(libopus_UIS_H ${libopus_UIS}) # Don't forget to include output directory, otherwise # the UI file won't be wrapped! include_directories(${CMAKE_CURRENT_BINARY_DIR}) @@ -58,6 +39,6 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) IF(OPUS_FOUND) ADD_LIBRARY(opus MODULE ${libopus_SRCS} ${libopus_RCC_SRCS} ${libopus_HDRS}) add_dependencies(opus qmmp) -target_link_libraries(opus ${QT_LIBRARIES} libqmmp ${OPUS_LDFLAGS} ${TAGLIB_LDFLAGS}) +target_link_libraries(opus Qt5::Widgets -lqmmp ${OPUS_LDFLAGS} ${TAGLIB_LDFLAGS}) install(TARGETS opus DESTINATION ${LIB_DIR}/qmmp/Input) ENDIF(OPUS_FOUND) diff --git a/src/plugins/Input/opus/decoderopusfactory.cpp b/src/plugins/Input/opus/decoderopusfactory.cpp index d52d76cec..6a0444751 100644 --- a/src/plugins/Input/opus/decoderopusfactory.cpp +++ b/src/plugins/Input/opus/decoderopusfactory.cpp @@ -20,10 +20,9 @@ #include #include -#include #include #include -#include "opusfile.h" +#include #include "replaygainreader.h" #include "decoder_opus.h" #include "opusmetadatamodel.h" @@ -121,8 +120,7 @@ void DecoderOpusFactory::showAbout(QWidget *parent) { QMessageBox::about (parent, tr("About Opus Audio Plugin"), tr("Qmmp Opus Audio Plugin")+"\n"+ - tr("Written by: Ilya Kotov ")+"\n"+ - tr("This plugin includes code from TagLib library")); + tr("Written by: Ilya Kotov ")); } QTranslator *DecoderOpusFactory::createTranslator(QObject *parent) @@ -132,5 +130,3 @@ QTranslator *DecoderOpusFactory::createTranslator(QObject *parent) translator->load(QString(":/opus_plugin_") + locale); return translator; } - -Q_EXPORT_PLUGIN2(opus,DecoderOpusFactory) diff --git a/src/plugins/Input/opus/decoderopusfactory.h b/src/plugins/Input/opus/decoderopusfactory.h index 17ff8e9d5..efee2f2dd 100644 --- a/src/plugins/Input/opus/decoderopusfactory.h +++ b/src/plugins/Input/opus/decoderopusfactory.h @@ -36,6 +36,7 @@ class DecoderOpusFactory : public QObject, DecoderFactory { Q_OBJECT +Q_PLUGIN_METADATA(IID "org.qmmp.qmmp.DecoderFactoryInterface.1.0") Q_INTERFACES(DecoderFactory) public: diff --git a/src/plugins/Input/opus/opus.pro b/src/plugins/Input/opus/opus.pro index f55764ca3..5cd5f321f 100644 --- a/src/plugins/Input/opus/opus.pro +++ b/src/plugins/Input/opus/opus.pro @@ -5,19 +5,12 @@ TARGET = $$PLUGINS_PREFIX/Input/opus HEADERS += decoderopusfactory.h \ decoder_opus.h \ opusmetadatamodel.h \ - replaygainreader.h \ - opusproperties.h \ - opusfile.h \ - tdebug.h + replaygainreader.h SOURCES += decoder_opus.cpp \ decoderopusfactory.cpp \ opusmetadatamodel.cpp \ - replaygainreader.cpp \ - opusproperties.cpp \ - opusfile.cpp \ - tdebug.cpp - + replaygainreader.cpp RESOURCES = translations/translations.qrc diff --git a/src/plugins/Input/opus/opusfile.cpp b/src/plugins/Input/opus/opusfile.cpp deleted file mode 100644 index eaf2d3afe..000000000 --- a/src/plugins/Input/opus/opusfile.cpp +++ /dev/null @@ -1,126 +0,0 @@ -/*************************************************************************** - copyright : (C) 2012 by Lukáš Lalinský - email : lalinsky@gmail.com - - copyright : (C) 2002 - 2008 by Scott Wheeler - email : wheeler@kde.org - (original Vorbis implementation) - ***************************************************************************/ - -/*************************************************************************** - * This library is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Lesser General Public License version * - * 2.1 as published by the Free Software Foundation. * - * * - * This library is distributed in the hope that it will be useful, but * - * WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the Free Software * - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * - * 02110-1301 USA * - * * - * Alternatively, this file is available under the Mozilla Public * - * License Version 1.1. You may obtain a copy of the License at * - * http://www.mozilla.org/MPL/ * - ***************************************************************************/ - -/* - Changes against original code: - - removed constructor File(IOStream *stream, bool readProperties, Properties::ReadStyle propertiesStyle); - - removed function PropertyMap File::properties() const; - - removed function PropertyMap File::setProperties(const PropertyMap &properties). -*/ - -#include - -#include -#include "tdebug.h" - -#include "opusfile.h" - -using namespace TagLib; -using namespace TagLib::Ogg; - -class Opus::File::FilePrivate -{ -public: - FilePrivate() : - comment(0), - properties(0) {} - - ~FilePrivate() - { - delete comment; - delete properties; - } - - Ogg::XiphComment *comment; - Properties *properties; -}; - -//////////////////////////////////////////////////////////////////////////////// -// public members -//////////////////////////////////////////////////////////////////////////////// - -Opus::File::File(FileName file, bool readProperties, - Properties::ReadStyle propertiesStyle) : Ogg::File(file) -{ - d = new FilePrivate; - read(readProperties, propertiesStyle); -} - -Opus::File::~File() -{ - delete d; -} - -Ogg::XiphComment *Opus::File::tag() const -{ - return d->comment; -} - -Opus::Properties *Opus::File::audioProperties() const -{ - return d->properties; -} - -bool Opus::File::save() -{ - if(!d->comment) - d->comment = new Ogg::XiphComment; - - setPacket(1, ByteVector("OpusTags", 8) + d->comment->render(false)); - - return Ogg::File::save(); -} - -//////////////////////////////////////////////////////////////////////////////// -// private members -//////////////////////////////////////////////////////////////////////////////// - -void Opus::File::read(bool readProperties, Properties::ReadStyle propertiesStyle) -{ - ByteVector opusHeaderData = packet(0); - - if(!opusHeaderData.startsWith("OpusHead")) { - setValid(false); - debug("Opus::File::read() -- invalid Opus identification header"); - return; - } - - ByteVector commentHeaderData = packet(1); - - if(!commentHeaderData.startsWith("OpusTags")) { - setValid(false); - debug("Opus::File::read() -- invalid Opus tags header"); - return; - } - - d->comment = new Ogg::XiphComment(commentHeaderData.mid(8)); - - if(readProperties) - d->properties = new Properties(this, propertiesStyle); -} diff --git a/src/plugins/Input/opus/opusfile.h b/src/plugins/Input/opus/opusfile.h deleted file mode 100644 index dc80c4fdf..000000000 --- a/src/plugins/Input/opus/opusfile.h +++ /dev/null @@ -1,106 +0,0 @@ -/*************************************************************************** - copyright : (C) 2012 by Lukáš Lalinský - email : lalinsky@gmail.com - - copyright : (C) 2002 - 2008 by Scott Wheeler - email : wheeler@kde.org - (original Vorbis implementation) -***************************************************************************/ - -/*************************************************************************** - * This library is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Lesser General Public License version * - * 2.1 as published by the Free Software Foundation. * - * * - * This library is distributed in the hope that it will be useful, but * - * WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the Free Software * - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * - * 02110-1301 USA * - * * - * Alternatively, this file is available under the Mozilla Public * - * License Version 1.1. You may obtain a copy of the License at * - * http://www.mozilla.org/MPL/ * - ***************************************************************************/ - -/* - Changes against original code: - - removed constructor File(IOStream *stream, bool readProperties, Properties::ReadStyle propertiesStyle); - - removed function PropertyMap File::properties() const; - - removed function PropertyMap File::setProperties(const PropertyMap &properties). -*/ - -#ifndef TAGLIB_OPUSFILE_H -#define TAGLIB_OPUSFILE_H - -#include -#include - -#include "opusproperties.h" - -namespace TagLib { - - namespace Ogg { - - //! A namespace containing classes for Opus metadata - - namespace Opus { - - //! An implementation of Ogg::File with Opus specific methods - - /*! - * This is the central class in the Ogg Opus metadata processing collection - * of classes. It's built upon Ogg::File which handles processing of the Ogg - * logical bitstream and breaking it down into pages which are handled by - * the codec implementations, in this case Opus specifically. - */ - - class File : public Ogg::File - { - public: - /*! - * Contructs a Opus file from \a file. If \a readProperties is true the - * file's audio properties will also be read using \a propertiesStyle. If - * false, \a propertiesStyle is ignored. - */ - File(FileName file, bool readProperties = true, - Properties::ReadStyle propertiesStyle = Properties::Average); - - /*! - * Destroys this instance of the File. - */ - virtual ~File(); - - /*! - * Returns the XiphComment for this file. XiphComment implements the tag - * interface, so this serves as the reimplementation of - * TagLib::File::tag(). - */ - virtual Ogg::XiphComment *tag() const; - - /*! - * Returns the Opus::Properties for this file. If no audio properties - * were read then this will return a null pointer. - */ - virtual Properties *audioProperties() const; - - virtual bool save(); - - private: - File(const File &); - File &operator=(const File &); - - void read(bool readProperties, Properties::ReadStyle propertiesStyle); - - class FilePrivate; - FilePrivate *d; - }; - } - } -} - -#endif diff --git a/src/plugins/Input/opus/opusmetadatamodel.cpp b/src/plugins/Input/opus/opusmetadatamodel.cpp index 2f79dfb6b..cd0f2be5f 100644 --- a/src/plugins/Input/opus/opusmetadatamodel.cpp +++ b/src/plugins/Input/opus/opusmetadatamodel.cpp @@ -18,13 +18,14 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ +#include #include +#include +#include +#include #include #include "opusmetadatamodel.h" -#define QStringToTString_qt4(s) TagLib::String(s.toUtf8().constData(), TagLib::String::UTF8) -#define TStringToQString_qt4(s) QString::fromUtf8(s.toCString(true)).trimmed() - OpusMetaDataModel::OpusMetaDataModel(const QString &path, QObject *parent) : MetaDataModel(parent) { m_path = path; @@ -79,7 +80,7 @@ QPixmap OpusMetaDataModel::cover() for(uint i = 0; i < list.size(); ++i) { TagLib::String value = list[i]; - QByteArray block = QByteArray::fromBase64(TStringToQString_qt4(value).toLatin1()); + QByteArray block = QByteArray::fromBase64(TStringToQString(value).toLatin1()); if(block.size() < 32) continue; qint64 pos = 0; @@ -135,25 +136,25 @@ const QString VorbisCommentModel::value(Qmmp::MetaData key) switch((int) key) { case Qmmp::TITLE: - return TStringToQString_qt4(m_tag->title()); + return TStringToQString(m_tag->title()); case Qmmp::ARTIST: - return TStringToQString_qt4(m_tag->artist()); + return TStringToQString(m_tag->artist()); case Qmmp::ALBUMARTIST: if(m_tag->fieldListMap()["ALBUMARTIST"].isEmpty()) return QString(); else - return TStringToQString_qt4(m_tag->fieldListMap()["ALBUMARTIST"].front()); + return TStringToQString(m_tag->fieldListMap()["ALBUMARTIST"].front()); case Qmmp::ALBUM: - return TStringToQString_qt4(m_tag->album()); + return TStringToQString(m_tag->album()); case Qmmp::COMMENT: - return TStringToQString_qt4(m_tag->comment()); + return TStringToQString(m_tag->comment()); case Qmmp::GENRE: - return TStringToQString_qt4(m_tag->genre()); + return TStringToQString(m_tag->genre()); case Qmmp::COMPOSER: if(m_tag->fieldListMap()["COMPOSER"].isEmpty()) return QString(); else - return TStringToQString_qt4(m_tag->fieldListMap()["COMPOSER"].front()); + return TStringToQString(m_tag->fieldListMap()["COMPOSER"].front()); case Qmmp::YEAR: return QString::number(m_tag->year()); case Qmmp::TRACK: @@ -162,7 +163,7 @@ const QString VorbisCommentModel::value(Qmmp::MetaData key) if(m_tag->fieldListMap()["DISCNUMBER"].isEmpty()) return QString(); else - return TStringToQString_qt4(m_tag->fieldListMap()["DISCNUMBER"].front()); + return TStringToQString(m_tag->fieldListMap()["DISCNUMBER"].front()); } return QString(); } @@ -172,7 +173,7 @@ void VorbisCommentModel::setValue(Qmmp::MetaData key, const QString &value) if(!m_tag) return; - TagLib::String str = QStringToTString_qt4(value); + TagLib::String str = QStringToTString(value); switch((int) key) { diff --git a/src/plugins/Input/opus/opusmetadatamodel.h b/src/plugins/Input/opus/opusmetadatamodel.h index a5d52490d..2d2a7a917 100644 --- a/src/plugins/Input/opus/opusmetadatamodel.h +++ b/src/plugins/Input/opus/opusmetadatamodel.h @@ -21,7 +21,7 @@ #ifndef OPUSMETADATAMODEL_H #define OPUSMETADATAMODEL_H -#include "opusfile.h" +#include #include #include diff --git a/src/plugins/Input/opus/opusproperties.cpp b/src/plugins/Input/opus/opusproperties.cpp deleted file mode 100644 index 89ede973d..000000000 --- a/src/plugins/Input/opus/opusproperties.cpp +++ /dev/null @@ -1,161 +0,0 @@ -/*************************************************************************** - copyright : (C) 2012 by Lukáš Lalinský - email : lalinsky@gmail.com - - copyright : (C) 2002 - 2008 by Scott Wheeler - email : wheeler@kde.org - (original Vorbis implementation) - ***************************************************************************/ - -/*************************************************************************** - * This library is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Lesser General Public License version * - * 2.1 as published by the Free Software Foundation. * - * * - * This library is distributed in the hope that it will be useful, but * - * WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the Free Software * - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * - * 02110-1301 USA * - * * - * Alternatively, this file is available under the Mozilla Public * - * License Version 1.1. You may obtain a copy of the License at * - * http://www.mozilla.org/MPL/ * - ***************************************************************************/ - -#include -#include "tdebug.h" - -#include - -#include "opusproperties.h" -#include "opusfile.h" - -using namespace TagLib; -using namespace TagLib::Ogg; - -class Opus::Properties::PropertiesPrivate -{ -public: - PropertiesPrivate(File *f, ReadStyle s) : - file(f), - style(s), - length(0), - inputSampleRate(0), - channels(0), - opusVersion(0) {} - - File *file; - ReadStyle style; - int length; - int inputSampleRate; - int channels; - int opusVersion; -}; - -//////////////////////////////////////////////////////////////////////////////// -// public members -//////////////////////////////////////////////////////////////////////////////// - -Opus::Properties::Properties(File *file, ReadStyle style) : AudioProperties(style) -{ - d = new PropertiesPrivate(file, style); - read(); -} - -Opus::Properties::~Properties() -{ - delete d; -} - -int Opus::Properties::length() const -{ - return d->length; -} - -int Opus::Properties::bitrate() const -{ - return 0; -} - -int Opus::Properties::sampleRate() const -{ - // Opus can decode any stream at a sample rate of 8, 12, 16, 24, or 48 kHz, - // so there is no single sample rate. Let's assume it's the highest - // possible. - return 48000; -} - -int Opus::Properties::channels() const -{ - return d->channels; -} - -int Opus::Properties::inputSampleRate() const -{ - return d->inputSampleRate; -} - -int Opus::Properties::opusVersion() const -{ - return d->opusVersion; -} - -//////////////////////////////////////////////////////////////////////////////// -// private members -//////////////////////////////////////////////////////////////////////////////// - -void Opus::Properties::read() -{ - // Get the identification header from the Ogg implementation. - - // http://tools.ietf.org/html/draft-terriberry-oggopus-01#section-5.1 - - ByteVector data = d->file->packet(0); - - // *Magic Signature* - int pos = 8; - - // *Version* (8 bits, unsigned) - d->opusVersion = uchar(data.at(pos)); - pos += 1; - - // *Output Channel Count* 'C' (8 bits, unsigned) - d->channels = uchar(data.at(pos)); - pos += 1; - - // *Pre-skip* (16 bits, unsigned, little endian) - ushort preSkip = data.mid(pos, 2).toUShort(false); - pos += 2; - - // *Input Sample Rate* (32 bits, unsigned, little endian) - d->inputSampleRate = data.mid(pos, 4).toUInt(false); - pos += 4; - - // *Output Gain* (16 bits, signed, little endian) - pos += 2; - - // *Channel Mapping Family* (8 bits, unsigned) - pos += 1; - - const Ogg::PageHeader *first = d->file->firstPageHeader(); - const Ogg::PageHeader *last = d->file->lastPageHeader(); - - if(first && last) { - long long start = first->absoluteGranularPosition(); - long long end = last->absoluteGranularPosition(); - - if(start >= 0 && end >= 0) - d->length = (int) ((end - start - preSkip) / 48000); - else { - debug("Opus::Properties::read() -- The PCM values for the start or " - "end of this file was incorrect."); - } - } - else - debug("Opus::Properties::read() -- Could not find valid first and last Ogg pages."); -} diff --git a/src/plugins/Input/opus/opusproperties.h b/src/plugins/Input/opus/opusproperties.h deleted file mode 100644 index 013fd0bb4..000000000 --- a/src/plugins/Input/opus/opusproperties.h +++ /dev/null @@ -1,96 +0,0 @@ -/*************************************************************************** - copyright : (C) 2012 by Lukáš Lalinský - email : lalinsky@gmail.com - - copyright : (C) 2002 - 2008 by Scott Wheeler - email : wheeler@kde.org - (original Vorbis implementation) -***************************************************************************/ - -/*************************************************************************** - * This library is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Lesser General Public License version * - * 2.1 as published by the Free Software Foundation. * - * * - * This library is distributed in the hope that it will be useful, but * - * WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the Free Software * - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * - * 02110-1301 USA * - * * - * Alternatively, this file is available under the Mozilla Public * - * License Version 1.1. You may obtain a copy of the License at * - * http://www.mozilla.org/MPL/ * - ***************************************************************************/ - -#ifndef TAGLIB_OPUSPROPERTIES_H -#define TAGLIB_OPUSPROPERTIES_H - -#include - -namespace TagLib { - - namespace Ogg { - - namespace Opus { - - class File; - - //! An implementation of audio property reading for Ogg Opus - - /*! - * This reads the data from an Ogg Opus stream found in the AudioProperties - * API. - */ - - class Properties : public AudioProperties - { - public: - /*! - * Create an instance of Opus::Properties with the data read from the - * Opus::File \a file. - */ - Properties(File *file, ReadStyle style = Average); - - /*! - * Destroys this Opus::Properties instance. - */ - virtual ~Properties(); - - // Reimplementations. - - virtual int length() const; - virtual int bitrate() const; - virtual int sampleRate() const; - virtual int channels() const; - - /*! - * The Opus codec supports decoding at multiple sample rates, there is no - * single sample rate of the encoded stream. This returns the sample rate - * of the original audio stream. - */ - int inputSampleRate() const; - - /*! - * Returns the Opus version, currently "0" (as specified by the spec). - */ - int opusVersion() const; - - private: - Properties(const Properties &); - Properties &operator=(const Properties &); - - void read(); - - class PropertiesPrivate; - PropertiesPrivate *d; - }; - } - } -} - -#endif diff --git a/src/plugins/Input/opus/replaygainreader.cpp b/src/plugins/Input/opus/replaygainreader.cpp index 5a8d1d21d..e125764d7 100644 --- a/src/plugins/Input/opus/replaygainreader.cpp +++ b/src/plugins/Input/opus/replaygainreader.cpp @@ -21,12 +21,14 @@ #include #include #include -#include "opusfile.h" +#include +#include #include "replaygainreader.h" ReplayGainReader::ReplayGainReader(const QString &path) { - TagLib::Ogg::Opus::File fileRef(QStringToFileName(path)); + TagLib::FileStream stream(QStringToFileName(path), true); + TagLib::Ogg::Opus::File fileRef(&stream); if(fileRef.tag()) readVorbisComment(fileRef.tag()); } diff --git a/src/plugins/Input/opus/tdebug.cpp b/src/plugins/Input/opus/tdebug.cpp deleted file mode 100644 index 5a7be431d..000000000 --- a/src/plugins/Input/opus/tdebug.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/*************************************************************************** - copyright : (C) 2002 - 2008 by Scott Wheeler - email : wheeler@kde.org - ***************************************************************************/ - -/*************************************************************************** - * This library is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Lesser General Public License version * - * 2.1 as published by the Free Software Foundation. * - * * - * This library is distributed in the hope that it will be useful, but * - * WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the Free Software * - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * - * 02110-1301 USA * - * * - * Alternatively, this file is available under the Mozilla Public * - * License Version 1.1. You may obtain a copy of the License at * - * http://www.mozilla.org/MPL/ * - ***************************************************************************/ - -#ifndef NDEBUG -#include -#include - -#include "tdebug.h" -#include - -using namespace TagLib; - -void TagLib::debug(const String &s) -{ - std::cerr << "TagLib: " << s << std::endl; -} - -void TagLib::debugData(const ByteVector &v) -{ - for(uint i = 0; i < v.size(); i++) { - - std::cout << "*** [" << i << "] - '" << char(v[i]) << "' - int " << int(v[i]) - << std::endl; - - std::bitset<8> b(v[i]); - - for(int j = 0; j < 8; j++) - std::cout << i << ":" << j << " " << b.test(j) << std::endl; - - std::cout << std::endl; - } -} -#endif diff --git a/src/plugins/Input/opus/tdebug.h b/src/plugins/Input/opus/tdebug.h deleted file mode 100644 index 5204fe707..000000000 --- a/src/plugins/Input/opus/tdebug.h +++ /dev/null @@ -1,71 +0,0 @@ -/*************************************************************************** - copyright : (C) 2002 - 2008 by Scott Wheeler - email : wheeler@kde.org - ***************************************************************************/ - -/*************************************************************************** - * This library is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Lesser General Public License version * - * 2.1 as published by the Free Software Foundation. * - * * - * This library is distributed in the hope that it will be useful, but * - * WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * - * Lesser General Public License for more details. * - * * - * You should have received a copy of the GNU Lesser General Public * - * License along with this library; if not, write to the Free Software * - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * - * 02110-1301 USA * - * * - * Alternatively, this file is available under the Mozilla Public * - * License Version 1.1. You may obtain a copy of the License at * - * http://www.mozilla.org/MPL/ * - ***************************************************************************/ - -#ifndef TAGLIB_DEBUG_H -#define TAGLIB_DEBUG_H - -namespace TagLib { - - class String; - class ByteVector; - -#ifndef DO_NOT_DOCUMENT -#ifndef NDEBUG - - /*! - * A simple function that prints debugging output to cerr if debugging is - * not disabled. - * - * \warning Do not use this outside of TagLib, it could lead to undefined - * symbols in your build if TagLib is built with NDEBUG defined and your - * application is not. - * - * \internal - */ - void debug(const String &s); - - /*! - * For debugging binary data. - * - * \warning Do not use this outside of TagLib, it could lead to undefined - * symbols in your build if TagLib is built with NDEBUG defined and your - * application is not. - * - * \internal - */ - void debugData(const ByteVector &v); - -#else - - // Define these to an empty statement if debugging is disabled. - -#define debug(x) -#define debugData(x) - -#endif -#endif -} - -#endif diff --git a/src/plugins/Input/opus/translations/opus_plugin_bg.ts b/src/plugins/Input/opus/translations/opus_plugin_bg.ts index 3c6fe2d22..3112f9103 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_bg.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_bg.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin - + Ogg Opus Files - + About Opus Audio Plugin - + Qmmp Opus Audio Plugin - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - - OpusMetaDataModel - + Length - + Sample rate - + Hz - + Channels - + Bitrate - + kbps - + File size - + KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_cs.ts b/src/plugins/Input/opus/translations/opus_plugin_cs.ts index 8c3f6517f..e7aeaa604 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_cs.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_cs.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Modul Opus - + Ogg Opus Files Soubory Ogg Opus - + About Opus Audio Plugin O modulu Opus - + Qmmp Opus Audio Plugin Modul Qmmp Opus - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Tento modul zahrnuje kód z knihovny TagLib - OpusMetaDataModel - + Length Délka - + Sample rate Vzorkovací frekvence - + Hz Hz - + Channels Počet kanálů - + Bitrate Datový tok - + kbps kbps - + File size Velikost souboru - + KB KiB diff --git a/src/plugins/Input/opus/translations/opus_plugin_de.ts b/src/plugins/Input/opus/translations/opus_plugin_de.ts index 86ded6035..6daba4c32 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_de.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_de.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Opus-Modul - + Ogg Opus Files Ogg-Opus-Dateien - + About Opus Audio Plugin Über Opus-Audiomodul - + Qmmp Opus Audio Plugin Qmmp Opus-Audiomodul - + Written by: Ilya Kotov <forkotov02@ya.ru> Geschrieben von: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Dieses Modul enthält Code aus der TagLib-Bibliothek - OpusMetaDataModel - + Length Länge - + Sample rate Abtastrate - + Hz Hz - + Channels Kanäle - + Bitrate Bitrate - + kbps KBit/s - + File size Dateigröße - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_el.ts b/src/plugins/Input/opus/translations/opus_plugin_el.ts index cff76ae3e..ae55a7bea 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_el.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_el.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Πρόσθετο Opus - + Ogg Opus Files Αρχεία Ogg Opus - + About Opus Audio Plugin Σχετικά με το πρόσθετο ήχου Opus - + Qmmp Opus Audio Plugin Qmmp πρόσθετο ήχου Opus - + Written by: Ilya Kotov <forkotov02@ya.ru> Γράφτηκε από τον: Ilya Kotov <forkotov02@hotmail.ru> - - - This plugin includes code from TagLib library - Αυτό το πρόσθετο περιέχει κώδικα από τη βιβλιοθήκη TagLib - OpusMetaDataModel - + Length Διάρκεια - + Sample rate Ρυθμός δειγματοληψίας - + Hz Hz - + Channels Κανάλια - + Bitrate Ρυθμός bit - + kbps kbps - + File size Μέγεθος αρχείου - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_en.ts b/src/plugins/Input/opus/translations/opus_plugin_en.ts index 7ed2df0c0..5a729a0a7 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_en.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_en.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin - + Ogg Opus Files - + About Opus Audio Plugin - + Qmmp Opus Audio Plugin - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - - OpusMetaDataModel - + Length - + Sample rate - + Hz - + Channels - + Bitrate - + kbps - + File size - + KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_es.ts b/src/plugins/Input/opus/translations/opus_plugin_es.ts index 61a5f84b2..9e5d589d4 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_es.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_es.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Módulo Opus - + Ogg Opus Files Archivos Ogg Opus - + About Opus Audio Plugin Acerca del Módulo de Audio Opus - + Qmmp Opus Audio Plugin Módulo de Audio Opus de Qmmp - + Written by: Ilya Kotov <forkotov02@ya.ru> Escrito por: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Este módulo incluye código proveniente de la biblioteca TagLib - OpusMetaDataModel - + Length Duración - + Sample rate Frecuencia - + Hz Hz - + Channels Canales - + Bitrate Tasa de bits - + kbps kbps - + File size Tamaño del archivo - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_fi.ts b/src/plugins/Input/opus/translations/opus_plugin_fi.ts index 91f916d2e..aa97a2e4a 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_fi.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_fi.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Opus-liitännäinen - + Ogg Opus Files Ogg Opus -tiedostot - + About Opus Audio Plugin Tietoja - Opus-ääniliitännäinen - + Qmmp Opus Audio Plugin Qmmp:n Opus-ääniliitännäinen - + Written by: Ilya Kotov <forkotov02@ya.ru> Toteuttanut: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Tämä liitännäinen sisältää koodia TagLib-kirjastosta - OpusMetaDataModel - + Length Kesto - + Sample rate Näytteenottotaajuus - + Hz Hz - + Channels Kanavat - + Bitrate Bittinopeus - + kbps kbps - + File size Tiedostokoko - + KB kt diff --git a/src/plugins/Input/opus/translations/opus_plugin_fr.ts b/src/plugins/Input/opus/translations/opus_plugin_fr.ts index 13489a5a3..90dca3c38 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_fr.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_fr.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Greffon Opus - + Ogg Opus Files Fichiers Opus - + About Opus Audio Plugin À propos du greffon audio Opus - + Qmmp Opus Audio Plugin Greffon audio Opus pour Qmmp - + Written by: Ilya Kotov <forkotov02@ya.ru> Écrit par : Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Ce greffon comprend du code de la bibliothèque TagLib - OpusMetaDataModel - + Length Longueur - + Sample rate Taux d'échantillonage - + Hz Hz - + Channels Canaux - + Bitrate Débit binaire - + kbps kbps - + File size Taille du fichier - + KB Ko diff --git a/src/plugins/Input/opus/translations/opus_plugin_gl_ES.ts b/src/plugins/Input/opus/translations/opus_plugin_gl_ES.ts index 6d0a54153..ab1df61bd 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_gl_ES.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_gl_ES.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Engadido Opus - + Ogg Opus Files Ficheiros Opus Ogg - + About Opus Audio Plugin Sobre o endagido Opus - + Qmmp Opus Audio Plugin Engadido Opus de Qmmp - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Este engadido inclúe código da libraría TagLig - OpusMetaDataModel - + Length Lonxitude - + Sample rate Taxa de mostra - + Hz Hz - + Channels Canais - + Bitrate Taxa de bits - + kbps kbps - + File size Tamaño de ficheiro - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_he.ts b/src/plugins/Input/opus/translations/opus_plugin_he.ts index f215d22b9..4154aaa9a 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_he.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_he.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin תוסף Opus - + Ogg Opus Files תוסף Ogg Opus - + About Opus Audio Plugin אודות תוסף שמע Opus - + Qmmp Opus Audio Plugin תוסף שמע Opus של Qmmp - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - תוסף זו כולל קוד מתוך הספרייה TagLib - OpusMetaDataModel - + Length אריכות - + Sample rate שיעור דגימה - + Hz הרץ - + Channels ערוצים - + Bitrate שיעור סיביות - + kbps - + File size גודל קובץ - + KB ק״ב diff --git a/src/plugins/Input/opus/translations/opus_plugin_hu.ts b/src/plugins/Input/opus/translations/opus_plugin_hu.ts index 4bc700957..569af6df3 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_hu.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_hu.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin - + Ogg Opus Files - + About Opus Audio Plugin - + Qmmp Opus Audio Plugin - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - - OpusMetaDataModel - + Length - + Sample rate - + Hz - + Channels - + Bitrate - + kbps - + File size - + KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_id.ts b/src/plugins/Input/opus/translations/opus_plugin_id.ts index ecc7d5f42..9bbe01695 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_id.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_id.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Plugin Opus - + Ogg Opus Files File Opus Ogg - + About Opus Audio Plugin Tentang Plugin Audio Opus - + Qmmp Opus Audio Plugin Plugin Audio Opus Qmmp - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Plugin ini mencakup kode dari pustaka TagLib - OpusMetaDataModel - + Length Panjang - + Sample rate Sample rate - + Hz Hz - + Channels Saluran - + Bitrate Bitrate - + kbps kbps - + File size Ukuran file - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_it.ts b/src/plugins/Input/opus/translations/opus_plugin_it.ts index 239720d73..3612b782c 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_it.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_it.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin - + Ogg Opus Files - + About Opus Audio Plugin - + Qmmp Opus Audio Plugin - + Written by: Ilya Kotov <forkotov02@ya.ru> Autore: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - - OpusMetaDataModel - + Length Durata - + Sample rate Campionamento - + Hz Hz - + Channels Canali - + Bitrate bit al secondo - + kbps kbps - + File size Dimensione file - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_ja.ts b/src/plugins/Input/opus/translations/opus_plugin_ja.ts index 2f37b774a..6f9ceb54d 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_ja.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_ja.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Opus プラグイン - + Ogg Opus Files Ogg Opus ファイル - + About Opus Audio Plugin Opus 音響プラグインについて - + Qmmp Opus Audio Plugin QMMP Opus 音響プラグイン - + Written by: Ilya Kotov <forkotov02@ya.ru> 制作: Илья Котов (Ilya Kotov) <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - このプラグインは TagLib ライブラリーのコードを流用しています。 - OpusMetaDataModel - + Length 演奏時間 - + Sample rate サンプルレート - + Hz Hz - + Channels チャンネル - + Bitrate ビットレート - + kbps キロビット毎秒 - + File size ファイルの大きさ - + KB KiB diff --git a/src/plugins/Input/opus/translations/opus_plugin_kk.ts b/src/plugins/Input/opus/translations/opus_plugin_kk.ts index 5ab14ec3f..a2b9b403d 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_kk.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_kk.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin - + Ogg Opus Files - + About Opus Audio Plugin - + Qmmp Opus Audio Plugin - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - - OpusMetaDataModel - + Length - + Sample rate - + Hz - + Channels - + Bitrate - + kbps - + File size - + KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_lt.ts b/src/plugins/Input/opus/translations/opus_plugin_lt.ts index 2957ae20d..7f4329935 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_lt.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_lt.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Opus Įskiepis - + Ogg Opus Files Ogg Opus Bylos - + About Opus Audio Plugin Apie Opus Audio Įskiepį - + Qmmp Opus Audio Plugin Qmmp Opus Audio Įskiepis - + Written by: Ilya Kotov <forkotov02@ya.ru> Sukūrė: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Įskiepyje yra kodo iš TagLib bibliotekos - OpusMetaDataModel - + Length Trukmė - + Sample rate Dažnis - + Hz Hz - + Channels Kanalai - + Bitrate Kokybė - + kbps kbps - + File size Bylos dydis - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_nl.ts b/src/plugins/Input/opus/translations/opus_plugin_nl.ts index 9a85b7aee..2b8bb497e 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_nl.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_nl.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin - + Ogg Opus Files - + About Opus Audio Plugin - + Qmmp Opus Audio Plugin - + Written by: Ilya Kotov <forkotov02@ya.ru> Auteur: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - - OpusMetaDataModel - + Length Duur - + Sample rate Sample frequentie - + Hz - + Channels Kanalen - + Bitrate Bitsnelheid - + kbps - + File size Bestandsnaam - + KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_pl_PL.ts b/src/plugins/Input/opus/translations/opus_plugin_pl_PL.ts index 0571653e8..cace44dae 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_pl_PL.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_pl_PL.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Wtyczka Opus - + Ogg Opus Files Pliki Ogg Opus - + About Opus Audio Plugin O wtyczce Opus Audio - + Qmmp Opus Audio Plugin Wtyczka Opus Audio dla Qmmp - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Ta wtyczka używa kodu z biblioteki TagLib - OpusMetaDataModel - + Length Długość - + Sample rate Próbkowanie - + Hz Hz - + Channels Kanały - + Bitrate Szybkość transmisji - + kbps - + File size Wielkość pliku - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_pt.ts b/src/plugins/Input/opus/translations/opus_plugin_pt.ts index 037584d4c..d8c3e1010 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_pt.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_pt.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Suplemento Opus - + Ogg Opus Files Ficheiros Ogg Opus - + About Opus Audio Plugin Sobre o suplemento Opus - + Qmmp Opus Audio Plugin Suplemento Qmmp Opus Audio - + Written by: Ilya Kotov <forkotov02@ya.ru> Desenvolvido por: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Este suplemento possui código da biblioteca TagLib - OpusMetaDataModel - + Length Duração - + Sample rate Frequência - + Hz Hz - + Channels Canais - + Bitrate Taxa de dados - + kbps kbps - + File size Tamanho do ficheiro - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_pt_BR.ts b/src/plugins/Input/opus/translations/opus_plugin_pt_BR.ts index 703b71ba0..0b6cc9edd 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_pt_BR.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_pt_BR.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Plugin Opus - + Ogg Opus Files Arquivos Ogg Opus - + About Opus Audio Plugin Sobre o plugin Opus - + Qmmp Opus Audio Plugin Plugin Qmmp Opus Audio - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Este plugin inclui código da biblioteca TagLib - OpusMetaDataModel - + Length Duração - + Sample rate Frequência - + Hz Hz - + Channels Canais - + Bitrate Taxa de dados - + kbps kbps - + File size Tamanho do arquivo - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_ru.ts b/src/plugins/Input/opus/translations/opus_plugin_ru.ts index 3219de7e4..775780544 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_ru.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_ru.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Модуль Opus - + Ogg Opus Files Файлы Ogg Opus - + About Opus Audio Plugin Об аудио-модуле Opus - + Qmmp Opus Audio Plugin Модуль Opus для Qmmp - + Written by: Ilya Kotov <forkotov02@ya.ru> Разработчик: Илья Котов <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - В данном модуле задействован код из библиотеки TagLib - OpusMetaDataModel - + Length Длительность - + Sample rate Дискретизация - + Hz Гц - + Channels Каналов - + Bitrate Битовая частота - + kbps кбит/с - + File size Размер файла - + KB КБ diff --git a/src/plugins/Input/opus/translations/opus_plugin_sk.ts b/src/plugins/Input/opus/translations/opus_plugin_sk.ts index 84424f7e4..277ecff2a 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_sk.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_sk.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin - + Ogg Opus Files - + About Opus Audio Plugin - + Qmmp Opus Audio Plugin - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - - OpusMetaDataModel - + Length - + Sample rate - + Hz - + Channels - + Bitrate - + kbps - + File size - + KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_sr_BA.ts b/src/plugins/Input/opus/translations/opus_plugin_sr_BA.ts index 450e69802..c4448adb9 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_sr_BA.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_sr_BA.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Опус прикључак - + Ogg Opus Files Огг Опус фајлови - + About Opus Audio Plugin О Опус прикључку - + Qmmp Opus Audio Plugin Кумп Опус прикључак - + Written by: Ilya Kotov <forkotov02@ya.ru> Аутор: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Овај прикључак користи кôд из TagLib библиотеке - OpusMetaDataModel - + Length Дужина - + Sample rate Узорковање - + Hz Hz - + Channels Канала - + Bitrate Битски проток - + kbps kb/s - + File size Величина - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_sr_RS.ts b/src/plugins/Input/opus/translations/opus_plugin_sr_RS.ts index 025b447c4..6351cdbbb 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_sr_RS.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_sr_RS.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Опус прикључак - + Ogg Opus Files Огг Опус фајлови - + About Opus Audio Plugin О Опус прикључку - + Qmmp Opus Audio Plugin Кумп Опус прикључак - + Written by: Ilya Kotov <forkotov02@ya.ru> Аутор: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - Овај прикључак користи кôд из TagLib библиотеке - OpusMetaDataModel - + Length Дужина - + Sample rate Узорковање - + Hz Hz - + Channels Канала - + Bitrate Битски проток - + kbps kb/s - + File size Величина - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_tr.ts b/src/plugins/Input/opus/translations/opus_plugin_tr.ts index 6eedc2153..be5ed3709 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_tr.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_tr.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin - + Ogg Opus Files - + About Opus Audio Plugin - + Qmmp Opus Audio Plugin - + Written by: Ilya Kotov <forkotov02@ya.ru> Yazan: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - - OpusMetaDataModel - + Length - + Sample rate - + Hz Hz - + Channels - + Bitrate - + kbps kbps - + File size - + KB KB diff --git a/src/plugins/Input/opus/translations/opus_plugin_uk_UA.ts b/src/plugins/Input/opus/translations/opus_plugin_uk_UA.ts index 3b89b25e2..f3d1b564e 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_uk_UA.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_uk_UA.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Модуль Opus - + Ogg Opus Files Файли Ogg Opus - + About Opus Audio Plugin Про модуль аудіо Opus - + Qmmp Opus Audio Plugin Модуль Opus для Qmmp - + Written by: Ilya Kotov <forkotov02@ya.ru> Розробник: Ілля Котов <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - В даному модулі задіяно код з бібліотеки TagLib - OpusMetaDataModel - + Length Тривалість - + Sample rate Частота - + Hz Гц - + Channels Канали - + Bitrate Бітрейт - + kbps Кб/с - + File size Розмір файлу - + KB Кб diff --git a/src/plugins/Input/opus/translations/opus_plugin_zh_CN.ts b/src/plugins/Input/opus/translations/opus_plugin_zh_CN.ts index ad97b966f..528f19e79 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_zh_CN.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_zh_CN.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin Opus插件 - + Ogg Opus Files Ogg Opus 文件 - + About Opus Audio Plugin 关于Opus音频 - + Qmmp Opus Audio Plugin Qmmp Opus音频文件插件 - + Written by: Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - 此插件中含有TagLib文件库中的代码 - OpusMetaDataModel - + Length 长度 - + Sample rate 采样率 - + Hz 赫兹 - + Channels 频道 - + Bitrate 比特率 - + kbps 千比特每秒 - + File size 文件大小 - + KB 千字节 diff --git a/src/plugins/Input/opus/translations/opus_plugin_zh_TW.ts b/src/plugins/Input/opus/translations/opus_plugin_zh_TW.ts index 400980a76..45baf07c6 100644 --- a/src/plugins/Input/opus/translations/opus_plugin_zh_TW.ts +++ b/src/plugins/Input/opus/translations/opus_plugin_zh_TW.ts @@ -4,75 +4,70 @@ DecoderOpusFactory - + Opus Plugin - + Ogg Opus Files - + About Opus Audio Plugin - + Qmmp Opus Audio Plugin - + Written by: Ilya Kotov <forkotov02@ya.ru> 作者:Ilya Kotov <forkotov02@ya.ru> - - - This plugin includes code from TagLib library - - OpusMetaDataModel - + Length 長度 - + Sample rate 取樣率 - + Hz Hz - + Channels 音頻通道 - + Bitrate 比特率 - + kbps kbps - + File size 文件大小 - + KB KB -- cgit v1.2.3-13-gbd6f