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()
◆ channels()
◆ data()
◆ samplingRate()
◆ setBitsPerSample()
◆ setChannels()
◆ setSamplingRate()
◆ setSoundEncoding()
◆ soundEncoding()
◆ soundType()
◆ url()
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:58:07 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:58:07 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.