Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The Info class contains information on the type and characteristics of the media stream that this QMediaDevice produces. More...
#include <QMediaDevice>
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.
This enum specifies the type of data produced by the QMediaDevice.
Constant | Value | Description |
---|---|---|
QMediaDevice::Info::Raw | 0 | This is raw uncooked data. |
QMediaDevice::Info::PCM | 1 | This is PCM data. |
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |