QAudioOutput on Android
-
I can get QAudioInput to work on android but I can't use QAudioOutput on it. It produce the following errors. I also checked it with the official audiooutput example. The interesting part is that it talks about AudioRecord object while there's no any input object used in audiooutput example.
I checked it on Samsung Galaxy S3 and Samsung Galaxy S2 devices. both of them produce these errors.
The official audiooutput example output :
@
E/AudioRecord(30537): Could not get audio input for record source 1
E/libOpenSLES(30537): android_audioRecorder_realize(0x5a6f9a30) error creating AudioRecord object
W/libOpenSLES(30537): Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)
E/AudioRecord(30537): Could not get audio input for record source 1
E/libOpenSLES(30537): android_audioRecorder_realize(0x5a6fa1d0) error creating AudioRecord object
@ -
I used without any problem QAudioOutput on android since qt 5.2.0 on Galaxy S3 … and maybe I never get the error because I always add the permission for recording audio to the app.
Did you add the permissions for recording ? -
Yes I added the RECORD_AUDIO permission. Also as I said I don't have any recording code in my program.
-
Humm... I think you found a bug. File a bug report.