Okular::Sound
Okular::Sound Class Reference
#include <sound.h>
Public Types | |
enum | SoundEncoding { Raw , Signed , muLaw , ALaw } |
enum | SoundType { External , Embedded } |
Public Member Functions | |
Sound (const QByteArray &data) | |
Sound (const QString &url) | |
~Sound () | |
int | bitsPerSample () const |
int | channels () const |
QByteArray | data () const |
double | samplingRate () const |
void | setBitsPerSample (int bitsPerSample) |
void | setChannels (int channels) |
void | setSamplingRate (double rate) |
void | setSoundEncoding (SoundEncoding encoding) |
SoundEncoding | soundEncoding () const |
SoundType | soundType () const |
QString | url () const |
Detailed Description
Contains information about a sound object.
This class encapsulates the information about a sound object which is used for links on enter/leave page event.
Member Enumeration Documentation
◆ SoundEncoding
◆ SoundType
Constructor & Destructor Documentation
◆ Sound() [1/2]
|
explicit |
◆ Sound() [2/2]
|
explicit |
◆ ~Sound()
Member Function Documentation
◆ bitsPerSample()
int Sound::bitsPerSample | ( | ) | const |
◆ channels()
int Sound::channels | ( | ) | const |
◆ data()
QByteArray Sound::data | ( | ) | const |
◆ samplingRate()
double Sound::samplingRate | ( | ) | const |
◆ setBitsPerSample()
void Sound::setBitsPerSample | ( | int | bitsPerSample | ) |
◆ setChannels()
void Sound::setChannels | ( | int | channels | ) |
◆ setSamplingRate()
void Sound::setSamplingRate | ( | double | rate | ) |
◆ setSoundEncoding()
void Sound::setSoundEncoding | ( | Sound::SoundEncoding | soundEncoding | ) |
◆ soundEncoding()
Sound::SoundEncoding Sound::soundEncoding | ( | ) | const |
◆ soundType()
Sound::SoundType Sound::soundType | ( | ) | const |
◆ url()
QString Sound::url | ( | ) | const |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:48:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:48:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.