AudioDataOutput Class Reference(Phonon::AudioDataOutput)The AudioDataOutput class provides access to audio data. More... #include <Phonon> Inherits: QObject and MediaNode. This class was introduced in Qt 4.7. Public Types
Properties
Public Functions
Public Slots
Signals
Additional Inherited MembersDetailed DescriptionThe AudioDataOutput class provides access to audio data. This class is used to obtain audio data, typically for the purpose of visualizing it. Although it is not designed for realtime performance, the latencies associated with accessing the data should be low enough for applications that provide visualizations of the data. This class can also be used to save the audio data for further processing. Member Type Documentation
|
Constant | Value |
---|---|
Phonon::AudioDataOutput::LeftChannel | 0 |
Phonon::AudioDataOutput::RightChannel | 1 |
Phonon::AudioDataOutput::CenterChannel | 2 |
Phonon::AudioDataOutput::LeftSurroundChannel | 3 |
Phonon::AudioDataOutput::RightSurroundChannel | 4 |
Phonon::AudioDataOutput::SubwooferChannel | 5 |
This property holds the number of samples passed via the dataReady() signal.
Access functions:
int | dataSize () const |
void | setDataSize ( int size ) |
This signal is emitted whenever there is data available to read. The data sent by the signal is supplied in the form of a map that holds the data for different output channels.
This signal is emitted before the final dataReady() signal is emitted for a media. The remainingSamples value sent by the signal contains the number of samples that will be sent in the final dataReady() signal for the media.
Returns the sample rate measured in Hertz, as reported by the backend. If the backend is unavailable -1 is returned.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.