23#ifndef PHONON_VOLUMEFADEREFFECT_H
24#define PHONON_VOLUMEFADEREFFECT_H
26#include "phonon_export.h"
30#ifndef QT_NO_PHONON_VOLUMEFADEREFFECT
34 class VolumeFaderEffectPrivate;
62 Q_PROPERTY(
float volume READ volume WRITE setVolume)
73 Q_PROPERTY(
double volumeDecibel READ volumeDecibel WRITE setVolumeDecibel)
82 Q_PROPERTY(
FadeCurve fadeCurve READ fadeCurve WRITE setFadeCurve)
125 float volume()
const;
126 double volumeDecibel()
const;
128 FadeCurve fadeCurve()
const;
141 void fadeIn(
int fadeTime);
152 void fadeOut(
int fadeTime);
154 void setVolume(
float volume);
155 void setVolumeDecibel(
double volumeDecibel);
157 void setFadeCurve(FadeCurve curve);
166 void fadeTo(
float volume,
int fadeTime);
Effects that can be inserted into a Path.
Audio effect to gradually fade the audio volume.
FadeCurve
Determines the curve of the volume change.
@ Fade9Decibel
"slow" fade out
@ Fade6Decibel
"Linear" fade out
@ Fade3Decibel
"Crossfade curve" / "fast" fade out
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 11:55:56 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.