Poppler Qt6 24.09.0
Public Member Functions | List of all members
Poppler::LinkSound Class Reference

#include <poppler-link.h>

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

Public Member Functions

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

Additional Inherited Members

Detailed Description

Sound: a sound to be played.

Member Function Documentation

◆ linkType()

LinkType Poppler::LinkSound::linkType ( ) const
overridevirtual

The type of this link.

Reimplemented from Poppler::Link.

◆ mix()

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.

◆ volume()

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: