33333
6th January 2017, 13:49
Hi,
Using QAudioRecorder (which extends QMediaRecorder), I want to use this flow of events over and over an arbitrary number of times:
set out file
record
stop recording
QMediaRecorder has a number "statuses" - https://doc.qt.io/qt-5/qmediarecorder.html#status. It also has three "states" but I've found the "states" and not the actual state but what state QMediaRecorder intends to get to. Anyway, the when I try to record then stop a QMediaRecorder it tends to get stuck in certain statuses and I can't make it get out of the status (expect by killing the process). It seems to get stuck in FinalizingStatus and StartingStatus.
Any ideas of how I can fix this??
Thanks,
33333
Using QAudioRecorder (which extends QMediaRecorder), I want to use this flow of events over and over an arbitrary number of times:
set out file
record
stop recording
QMediaRecorder has a number "statuses" - https://doc.qt.io/qt-5/qmediarecorder.html#status. It also has three "states" but I've found the "states" and not the actual state but what state QMediaRecorder intends to get to. Anyway, the when I try to record then stop a QMediaRecorder it tends to get stuck in certain statuses and I can't make it get out of the status (expect by killing the process). It seems to get stuck in FinalizingStatus and StartingStatus.
Any ideas of how I can fix this??
Thanks,
33333