okular
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 &filename) | |
| ~Sound () | |
| int | bitsPerSample () const |
| int | channels () const |
| QByteArray | data () const |
| double | samplingRate () const |
| void | setBitsPerSample (int rate) |
| 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
Constructor & Destructor Documentation
|
explicit |
|
explicit |
Member Function Documentation
| int Sound::bitsPerSample | ( | ) | const |
| int Sound::channels | ( | ) | const |
| QByteArray Sound::data | ( | ) | const |
| double Sound::samplingRate | ( | ) | const |
| void Sound::setBitsPerSample | ( | int | rate | ) |
| void Sound::setChannels | ( | int | channels | ) |
| void Sound::setSamplingRate | ( | double | rate | ) |
| void Sound::setSoundEncoding | ( | Sound::SoundEncoding | soundEncoding | ) |
| Sound::SoundEncoding Sound::soundEncoding | ( | ) | const |
| Sound::SoundType Sound::soundType | ( | ) | const |
| 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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference