Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

Info Class Reference
(QMediaDevice::Info)
[QtMediaModule, QtTelephonyModule]

The Info class contains information on the type and characteristics of the media stream that this QMediaDevice produces. More...

    #include <QMediaDevice>

Public Types


Detailed Description

The Info class contains information on the type and characteristics of the media stream that this QMediaDevice produces.

When the stream type is Raw - the dataSize member will indicate the complete size of the data available to the device, or -1 if the size is not available.

When the stream type is PCM - the PCM data will have a frequency, sample size, and number of channels corresponding to the frequency, bitsPerSample and channels members. The expected volume of the data is set with the volume member.


Member Type Documentation

enum Info::DataType

This enum specifies the type of data produced by the QMediaDevice.

ConstantValueDescription
QMediaDevice::Info::Raw0This is raw uncooked data.
QMediaDevice::Info::PCM1This is PCM data.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3