Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
BlackBerry Development Advisor (Retired)
s_rashid
Posts: 127
Registered: ‎02-27-2012
My Device: Bold
My Carrier: Rogers

Re: snd_pcm_channel_status

Hi @dbigham,

Have you tried restoring to factory default settings through the desktop software? You can try that and see if that helps you update the OS through the Settings app (OTA). You might also be able to back and restore your apps/files using the desktop software this way. This factory default OS should also provide you a full-fledged production OS image (even if not the latest one).

Other than this, your only other option would be to flash the image and install the latest public developer OS images through the autoloader.exe files (the link provided above). Do note that this would be a developer OS version; some core apps may not be there (which might be present in a production OS image).


Cheers,
Rashid

Application Development Consultant | Developer Relations

BlackBerry
@surashid

Please use plain text.
Developer
dbigham
Posts: 521
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA

Re: snd_pcm_channel_status

Please use plain text.
Developer
dbigham
Posts: 521
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA

Re: snd_pcm_channel_status

I used:

 

https://developer.blackberry.com/blackberry10devalpha/devalpha_update.html

 

... to wipe my device and load 10.1.0.1485

 

From there, I downloaded SDK 10.1.0.1483 and found that count was returning 1664049524. I then noticed that in the AudioLoopBackSample, the 'channel' member was being set first:

 

status.channel = SND_PCM_CHANNEL_CAPTURE;

 

I tried doing this in my app with:

 

status.channel = SND_PCM_CHANNEL_CAPTURE;

 

... and now the 'count' member seems to be getting populated correctly.

 

It might be helpful to update:

 

http://www.qnx.com/developers/docs/6.3.0SP3/neutrino/audio/libs/snd_pcm_channel_status_t.html

 

... to note that the 'channel' needs to be populated before calling snd_pcm_channel_status.  That said,

 

http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.neutrino_audio%2Flibs%2Fsnd_...

 

... does specify that 'channel' needs to be specified, and I hadn't seen that.

 

Thanks for your help.

 

Daniel

Please use plain text.