QAudioFormat | audioFormatForBuffer (int * buffer ) |
QAudioFormat | audioFormatForCaps (const int * caps ) |
QSize | capsCorrectedResolution (const int * caps ) |
int * | capsForAudioFormat ( const QAudioFormat & ) |
QSize | capsResolution (const int * caps ) |
QMap<QByteArray, QVariant> | gstTagListToMap (const int * tags ) |
Returns audio format for a buffer. If the buffer doesn't have a valid audio format, an empty QAudioFormat 被返回。
Returns audio format for caps. If caps doesn't have a valid audio format, an empty QAudioFormat 被返回。
Returns aspect ratio corrected resolution of caps . If caps doesn't have a valid size, an empty QSize 被返回。
Builds GstCaps for an audio format. Returns 0 if the audio format is not valid. Caller must unref GstCaps.
Returns resolution of caps . If caps doesn't have a valid size, an empty QSize 被返回。
Convert GstTagList structure to QMap < QByteArray , QVariant >.
Mapping to int, bool, char, string, fractions and date are supported. Fraction values are converted to doubles.