Phonon
experimental/audiodataoutput.h
161 void dataReady(const QMap<Phonon::Experimental::AudioDataOutput::Channel, QVector<qint16> > &data);
171 void dataReady(const QMap<Phonon::Experimental::AudioDataOutput::Channel, QVector<float> > &data);
Common base class for all audio outputs.
Definition abstractaudiooutput.h:41
This class gives you the audio data (for visualizations).
Definition experimental/audiodataoutput.h:60
void setFormat(Format format)
Requests the dataformat you'd like to receive.
int dataSize() const
Returns the currently used number of samples passed through the signal.
void setDataSize(int size)
Sets the number of samples to be passed in one signal emission.
Format
Used for telling the object whether you want 16 bit Integers or 32 bit floats.
Definition experimental/audiodataoutput.h:88
void endOfMedia(int remainingSamples)
This signal is emitted before the last dataReady signal of a media is emitted.
void dataReady(const QMap< Phonon::Experimental::AudioDataOutput::Channel, QVector< qint16 > > &data)
Emitted whenever another dataSize number of samples are ready and format is set to IntegerFormat.
void dataReady(const QMap< Phonon::Experimental::AudioDataOutput::Channel, QVector< float > > &data)
Emitted whenever another dataSize number of samples are ready and format is set to FloatFormat.
int sampleRate() const
Returns the sample rate in Hz.
Format format() const
Returns the currently used format.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.