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
Posts: 668
Registered: ‎11-29-2011
My Device: developer

Re: Volume control causes high priority thread trouble

If you can code up a simple example that reproduces the clicking/popping sound on volume changes, we can take a look into it.  It really shouldn't be doing that.

Trusted Contributor
Posts: 195
Registered: ‎03-12-2012
My Device: PlayBook

Re: Volume control causes high priority thread trouble

I will code up a simple example.  I don't know why my apps always get underruns even when playing silent and doing no wave generation.  Is it a bad idea to use blocking calls when writing to the sound plugin buffer?

Sucroid.com
Sweet Apps for the Fans
Trusted Contributor
Posts: 195
Registered: ‎03-12-2012
My Device: PlayBook

Re: Volume control causes high priority thread trouble

It looks like I solved my underrun problem simply by raising the priority of the tone generation thread and the playback thread.

 

So I don't think I'm going to bother with coming up a simple app that suffers from buffer underruns.

Sucroid.com
Sweet Apps for the Fans