audio recording does not always work

Bug #1433479 reported by Victor Tuson Palau
This bug report is a duplicate of:  Bug #1433563: QAudioRecorder recording hangs. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
New
High
Canonical Phone Foundations

Bug Description

try:
https://code.launchpad.net/~vtuson/+junk/snaprecorder

The problem is that it works 1 out of 5-10 times, and I have no idea why. Seems like when I start QAudioRecorder, it gets stuck on requesting the audio to be recorded (status = QMediaRecorder::StartingStatus). The times that it works it going from starting to recording.. and then I can record audio and playback.

QAudioRecorder has an error() method, but that is returning always QMediaRecorder::NoError.

Hence, I am starting to suspect it is a bug on the middleware rather than my app.

If you want to try it, here is an attached click, try:
* record
* stop
* press playback
If you dont hear anything, it didnt work. Close the app and try again.. sometimes works 5 time is a row, sometime 1 in 10...

Changed in canonical-devices-system-image:
importance: Undecided → High
Changed in canonical-devices-system-image:
assignee: nobody → Canonical Phone Foundations (canonical-phonedations-team)
Revision history for this message
Jim Hodapp (jhodapp) wrote :

@Victor: I'd be happy to help look into helping get it working for you. Have you compared your code to the camera-app's code? lp:camera-app

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.