QAudioRecorder::setMetaData not working on .wav files?
I have a
QAudioRecorderwhich records .wav files just fine. However, when I try using the
setMetaDatamethod, e.g. as follows:
audioRecorder->setMetaData(QMediaMetaData::Title, QVariant(QLatin1String("Test Title")));
, no metadata is attached. I checked the .wav file with the Kid3 tool.
If this is not supported on .wav files, it would be nice to have it in the documentation somewhere.
Did you check whether your backend implements QMetaDataWriterControl ?