Poppler::SoundObject Class Reference

Container class for a sound file in a PDF document. More...

#include <poppler-qt4.h>

List of all members.

Public Types

enum  SoundEncoding { Raw, Signed, muLaw, ALaw }
enum  SoundType { External, Embedded }

Public Member Functions

int bitsPerSample () const
int channels () const
QByteArray data () const
double samplingRate () const
SoundEncoding soundEncoding () const
SoundType soundType () const
QString url () const

Detailed Description

Container class for a sound file in a PDF document.

A sound can be either External (in that case should be loaded the file whose url is represented by url() ), or Embedded, and the player has to play the data contained in data().

Since:
0.6

Member Enumeration Documentation

The encoding format used for the sound.

Enumerator:
Raw 

Raw encoding, with unspecified or unsigned values in the range [ 0, 2^B - 1 ].

Signed 

Twos-complement values.

muLaw 

mu-law-encoded samples

ALaw 

A-law-encoded samples.

The type of sound.

Enumerator:
External 

The real sound file is external.

Embedded 

The sound is contained in the data.


The documentation for this class was generated from the following file:

Generated on Sun Oct 18 01:52:21 2009 for Poppler Qt4 by  doxygen 1.6.1