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
Contributor
IndiDeveloper
Posts: 15
Registered: ‎01-11-2014
My Device: Z10
My Carrier: Vodafone

MediaPlayer volume setting

To play small portions of sound in my app, I'm using bb/multimedia/MediaPlayer class. All works fine. But, the sound volume is not in sync with the device volume. The sound plays at the same volume always no matter if the device volume is low or high. Any thoughts? 

 
 Thanks!
Please use plain text.
Developer
BBSJdev
Posts: 5,988
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

Re: MediaPlayer volume setting

Have you looked at this...

 

http://developer.blackberry.com/native/reference/core/com.qnx.doc.bps.lib_ref/topic/about_audiomixer...


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Contributor
IndiDeveloper
Posts: 15
Registered: ‎01-11-2014
My Device: Z10
My Carrier: Vodafone

Re: MediaPlayer volume setting

BBSJDev,

 

Thanks!

Looks like this will help!

 

Regards,

IndiDeveloper

Please use plain text.
Developer
BBSJdev
Posts: 5,988
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

Re: MediaPlayer volume setting

You're welcome come back and click on the Accept as Solution button if it does. Cheers.

If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.