26#ifndef TAGLIB_RELATIVEVOLUMEFRAME_H
27#define TAGLIB_RELATIVEVOLUMEFRAME_H
227 short volumeAdjustmentIndex(
ChannelType type)
const;
228 short volumeAdjustmentIndex()
const;
230 void setVolumeAdjustmentIndex(
short index,
ChannelType type);
231 void setVolumeAdjustmentIndex(
short index);
234 float volumeAdjustment()
const;
236 void setVolumeAdjustment(
float adjustment,
ChannelType type);
237 void setVolumeAdjustment(
float adjustment);
268 class RelativeVolumeFramePrivate;
269 RelativeVolumeFramePrivate *d;
A byte vector.
Definition: tbytevector.h:46
A factory for creating ID3v2 frames during parsing.
Definition: id3v2framefactory.h:66
ID3v2 frame implementation.
Definition: id3v2frame.h:55
An ID3v2 relative volume adjustment frame implementation.
Definition: relativevolumeframe.h:50
virtual String toString() const
ChannelType
Definition: relativevolumeframe.h:58
String identification() const
virtual ~RelativeVolumeFrame()
short volumeAdjustmentIndex(ChannelType type=MasterVolume) const
void setVolumeAdjustment(float adjustment, ChannelType type=MasterVolume)
void setChannelType(ChannelType t)
float volumeAdjustment(ChannelType type=MasterVolume) const
void setIdentification(const String &s)
PeakVolume peakVolume(ChannelType type=MasterVolume) const
void setPeakVolume(const PeakVolume &peak, ChannelType type=MasterVolume)
void setVolumeAdjustmentIndex(short index, ChannelType type=MasterVolume)
RelativeVolumeFrame(const ByteVector &data)
ChannelType channelType() const
virtual void parseFields(const ByteVector &data)
virtual ByteVector renderFields() const
List< ChannelType > channels() const
A generic, implicitly shared list.
Definition: tlist.h:54
A wide string class suitable for unicode.
Definition: tstring.h:85
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
Struct that stores the relevant values for ID3v2 peak volume.
Definition: relativevolumeframe.h:86
PeakVolume()
Definition: relativevolumeframe.h:90
ByteVector peakVolume
Definition: relativevolumeframe.h:100
unsigned char bitsRepresentingPeak
Definition: relativevolumeframe.h:95
#define TAGLIB_EXPORT
Definition: taglib_export.h:40