diff options
Diffstat (limited to 'taglib/riff')
-rw-r--r-- | taglib/riff/aiff/aiffproperties.cpp | 4 | ||||
-rw-r--r-- | taglib/riff/aiff/aiffproperties.h | 42 | ||||
-rw-r--r-- | taglib/riff/wav/wavproperties.cpp | 2 | ||||
-rw-r--r-- | taglib/riff/wav/wavproperties.h | 52 |
4 files changed, 50 insertions, 50 deletions
diff --git a/taglib/riff/aiff/aiffproperties.cpp b/taglib/riff/aiff/aiffproperties.cpp index c7cbaa34..4a1a3001 100644 --- a/taglib/riff/aiff/aiffproperties.cpp +++ b/taglib/riff/aiff/aiffproperties.cpp @@ -44,7 +44,7 @@ static double ConvertFromIeeeExtended(unsigned char *bytes) double f; int expon; unsigned long hiMant, loMant; - + expon = ((bytes[0] & 0x7F) << 8) | (bytes[1] & 0xFF); hiMant = ((unsigned long)(bytes[2] & 0xFF) << 24) | @@ -141,7 +141,7 @@ int RIFF::AIFF::Properties::sampleWidth() const uint RIFF::AIFF::Properties::sampleFrames() const { - return d->sampleFrames; + return d->sampleFrames; } //////////////////////////////////////////////////////////////////////////////// diff --git a/taglib/riff/aiff/aiffproperties.h b/taglib/riff/aiff/aiffproperties.h index ceefe32e..68e90b79 100644 --- a/taglib/riff/aiff/aiffproperties.h +++ b/taglib/riff/aiff/aiffproperties.h @@ -46,35 +46,35 @@ namespace TagLib { class TAGLIB_EXPORT Properties : public AudioProperties { public: - /*! - * Create an instance of AIFF::Properties with the data read from the - * ByteVector \a data. - */ - Properties(const ByteVector &data, ReadStyle style); + /*! + * Create an instance of AIFF::Properties with the data read from the + * ByteVector \a data. + */ + Properties(const ByteVector &data, ReadStyle style); - /*! - * Destroys this AIFF::Properties instance. - */ - virtual ~Properties(); + /*! + * Destroys this AIFF::Properties instance. + */ + virtual ~Properties(); - // Reimplementations. + // Reimplementations. - virtual int length() const; - virtual int bitrate() const; - virtual int sampleRate() const; - virtual int channels() const; + virtual int length() const; + virtual int bitrate() const; + virtual int sampleRate() const; + virtual int channels() const; - int sampleWidth() const; - uint sampleFrames() const; + int sampleWidth() const; + uint sampleFrames() const; private: - Properties(const Properties &); - Properties &operator=(const Properties &); + Properties(const Properties &); + Properties &operator=(const Properties &); - void read(const ByteVector &data); + void read(const ByteVector &data); - class PropertiesPrivate; - PropertiesPrivate *d; + class PropertiesPrivate; + PropertiesPrivate *d; }; } } diff --git a/taglib/riff/wav/wavproperties.cpp b/taglib/riff/wav/wavproperties.cpp index 6c3e2f41..10d10eca 100644 --- a/taglib/riff/wav/wavproperties.cpp +++ b/taglib/riff/wav/wavproperties.cpp @@ -106,7 +106,7 @@ int RIFF::WAV::Properties::sampleWidth() const uint RIFF::WAV::Properties::sampleFrames() const { - return d->sampleFrames; + return d->sampleFrames; } //////////////////////////////////////////////////////////////////////////////// diff --git a/taglib/riff/wav/wavproperties.h b/taglib/riff/wav/wavproperties.h index e75ec0fb..2023f539 100644 --- a/taglib/riff/wav/wavproperties.h +++ b/taglib/riff/wav/wavproperties.h @@ -49,41 +49,41 @@ namespace TagLib { class TAGLIB_EXPORT Properties : public AudioProperties { public: - /*! - * Create an instance of WAV::Properties with the data read from the - * ByteVector \a data. - */ - Properties(const ByteVector &data, ReadStyle style); + /*! + * Create an instance of WAV::Properties with the data read from the + * ByteVector \a data. + */ + Properties(const ByteVector &data, ReadStyle style); - /*! - * Create an instance of WAV::Properties with the data read from the - * ByteVector \a data and the length calculated using \a streamLength. - */ - Properties(const ByteVector &data, uint streamLength, ReadStyle style); + /*! + * Create an instance of WAV::Properties with the data read from the + * ByteVector \a data and the length calculated using \a streamLength. + */ + Properties(const ByteVector &data, uint streamLength, ReadStyle style); - /*! - * Destroys this WAV::Properties instance. - */ - virtual ~Properties(); + /*! + * Destroys this WAV::Properties instance. + */ + virtual ~Properties(); - // Reimplementations. + // Reimplementations. - virtual int length() const; - virtual int bitrate() const; - virtual int sampleRate() const; - virtual int channels() const; + virtual int length() const; + virtual int bitrate() const; + virtual int sampleRate() const; + virtual int channels() const; - int sampleWidth() const; - uint sampleFrames() const; + int sampleWidth() const; + uint sampleFrames() const; private: - Properties(const Properties &); - Properties &operator=(const Properties &); + Properties(const Properties &); + Properties &operator=(const Properties &); - void read(const ByteVector &data); + void read(const ByteVector &data); - class PropertiesPrivate; - PropertiesPrivate *d; + class PropertiesPrivate; + PropertiesPrivate *d; }; } } |