speexproperties.h
Go to the documentation of this file.
/***************************************************************************
copyright : (C) 2006 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_SPEEXPROPERTIES_H
#define TAGLIB_SPEEXPROPERTIES_H
#include "audioproperties.h"
namespace TagLib {
namespace Ogg {
namespace Speex {
class File;
class TAGLIB_EXPORT Properties : public AudioProperties
{
public:
Properties(File *file, ReadStyle style = Average);
~Properties() override;
Properties(const Properties &) = delete;
Properties &operator=(const Properties &) = delete;
int lengthInMilliseconds() const override;
int bitrate() const override;
int bitrateNominal() const;
int sampleRate() const override;
int channels() const override;
int speexVersion() const;
private:
void read(File *file);
class PropertiesPrivate;
TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
std::unique_ptr<PropertiesPrivate> d;
};
} // namespace Speex
} // namespace Ogg
} // namespace TagLib
#endif
audioproperties.h
TagLib::AudioProperties::AudioProperties
AudioProperties(const AudioProperties &)=delete
TagLib::AudioProperties::ReadStyle
ReadStyle
Definition audioproperties.h:56
TagLib::AudioProperties::Average
@ Average
Read more of the file and make better values guesses.
Definition audioproperties.h:60
TagLib::Ogg::Speex::File
An implementation of Ogg::File with Speex specific methods.
Definition speexfile.h:55
TagLib::Ogg::Speex::Properties::operator=
Properties & operator=(const Properties &)=delete
TagLib::Ogg::Speex::Properties::Properties
Properties(const Properties &)=delete
TagLib::Ogg::Speex::Properties::sampleRate
int sampleRate() const override
TagLib::Ogg::Speex::Properties::bitrate
int bitrate() const override
TagLib::Ogg::Speex::Properties::lengthInMilliseconds
int lengthInMilliseconds() const override
TagLib::Ogg::Speex::Properties::bitrateNominal
int bitrateNominal() const
TagLib::Ogg::Speex::Properties::Properties
Properties(File *file, ReadStyle style=Average)
TagLib::Ogg::Speex::Properties::speexVersion
int speexVersion() const
TagLib::Ogg::Speex::Properties::~Properties
~Properties() override
TagLib::Ogg::Speex::Properties::channels
int channels() const override
TagLib::Ogg::Speex
A namespace containing classes for Speex metadata.
Definition speexfile.h:43
TagLib::Ogg
A namespace for the classes used by Ogg-based metadata files.
Definition flacfile.h:41
TagLib
A namespace for all TagLib related classes and functions.
Definition apefile.h:41
TAGLIB_EXPORT
#define TAGLIB_EXPORT
Definition taglib_export.h:40
TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
#define TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
Definition taglib_export.h:55