1
/***************************************************************************
2
copyright : (C) 2006 by Lukáš Lalinský
3
email : lalinsky@gmail.com
5
copyright : (C) 2002 by Scott Wheeler
6
email : wheeler@kde.org
7
(original Vorbis implementation)
8
***************************************************************************/
10
/***************************************************************************
11
* This library is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU Lesser General Public License version *
13
* 2.1 as published by the Free Software Foundation. *
15
* This library is distributed in the hope that it will be useful, but *
16
* WITHOUT ANY WARRANTY; without even the implied warranty of *
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
18
* Lesser General Public License for more details. *
20
* You should have received a copy of the GNU Lesser General Public *
21
* License along with this library; if not, write to the Free Software *
22
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, *
24
***************************************************************************/
26
#ifndef TAGLIB_SPEEXPROPERTIES_H
27
#define TAGLIB_SPEEXPROPERTIES_H
29
#include <audioproperties.h>
37
//! An implementation of audio property reading for Ogg Speex
40
* This reads the data from an Ogg Speex stream found in the AudioProperties
44
class Properties : public AudioProperties
48
* Create an instance of Vorbis::Properties with the data read from the
49
* Vorbis::File \a file.
51
explicit Properties(File *file, ReadStyle style = Average);
54
* Destroys this VorbisProperties instance.
56
virtual ~Properties();
60
virtual int length() const;
61
virtual int bitrate() const;
62
virtual int sampleRate() const;
63
virtual int channels() const;
66
* Returns the Vorbis version, currently "0" (as specified by the spec).
68
int speexVersion() const;
71
Properties(const Properties &);
72
Properties &operator=(const Properties &);
76
class PropertiesPrivate;