01-11-2013 04:08 AM
Hello!
Can anyone confirm if the voice path and "voice" PCM device are broken in the today SDK / OS releases?
I can't get any sound from both the earpiece and mic when running the new OS.
I've tested it in both my own application and the AudioLoopBackSample.
https://github.com/blackberry/Core-Native-Communit
Solved! Go to Solution.
01-11-2013 07:33 AM
Was able to reproduce this on a second Dev Alpha A device: was able to hear-record sound before updating it to .339, sound disappeared after updating.
Ruled out a possibility of an SDK bug, this is OS-related.
01-11-2013 07:45 AM
we have similar problems with our app, with analyzes the microphone input. we are investigating this issue at the moment
01-11-2013 07:46 AM
I've opened a ticket in the BlackBerry Jira: https://www.blackberry.com/jira/browse/BBTEN-660 . Maybe you can participate there too?
Thank you for your input, hope we can sort this out ![]()
01-11-2013 08:48 AM
have you marked the issue as private? i can not see it :/
01-11-2013 09:54 AM
01-11-2013 02:15 PM
ok.
can you post more information, if rim provides it
01-14-2013 01:16 AM
I certainly will, but there is still nothing though. However, BlackBerryDev confirmed on Twitter that this is not an intentional API change.
01-14-2013 09:50 PM
Please check this patch for the latest correct way of working with the audio device:
You'll need to call:
if ((pb_result = snd_pcm_plugin_set_disable (pcm_handle, PLUGIN_DISABLE_MMAP)) < 0)
after openning audio device.
01-15-2013 06:45 AM
snd_pcm_plugin_set_disable (pcm_handle, PLUGIN_DISABLE_MMAP) helped. Thank you.