Poppler Qt4 0.18.1
Public Member Functions
Poppler::LinkSound Class Reference

Sound: a sound to be played. More...

#include <poppler-link.h>

Inheritance diagram for Poppler::LinkSound:
Inheritance graph
[legend]
Collaboration diagram for Poppler::LinkSound:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LinkSound (const QRectF &linkArea, double volume, bool sync, bool repeat, bool mix, SoundObject *sound)
LinkType linkType () const
bool mix () const
bool repeat () const
SoundObjectsound () const
bool synchronous () const
double volume () const
virtual ~LinkSound ()

Detailed Description

Sound: a sound to be played.

Since:
0.6

Member Function Documentation

bool Poppler::LinkSound::mix ( ) const

Whether the playback of this sound can be mixed with playbacks with other sounds of the same document.

Note:
When false, any other playback must be stopped before playing the sound.
double Poppler::LinkSound::volume ( ) const

The volume to be used when playing the sound.

The volume is in the range [ -1, 1 ], where:

  • a negative number: no volume (mute)
  • 1: full volume

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