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

Java Development

Reply
New Developer
login1505
Posts: 2
Registered: ‎12-15-2009
My Device: Not Specified

Play 2 sounds on Storm 9520, why it's not possible ???

Hi,

 

I develop a game, I need 2 players - one for background music, and another one for effects.

I found that it's not possible to make 2 players and play sounds at the same time on CDMA devices, but my device IS NOT CDMA. Anyway second player stops first player.  Why? It's not a CDMA device, my device is 9520 Storm2.

 

And second question, is there any way to check is device support 2 or more players or support only one player?

RIM Developers support, please help, how to develop cool games if we can't make one ot the most important thing - cool music in games.

 

Thanks all!

Please use plain text.
Developer
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: Play 2 sounds on Storm 9520, why it's not possible ???

It is a CDMA-capable device. It cannot play two streams concurrently. There's a knowledge base article about this, but I can't seem to find it...
Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: Play 2 sounds on Storm 9520, why it's not possible ???

He said it is not a CDMA device.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Developer
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: Play 2 sounds on Storm 9520, why it's not possible ???

Correct me if I'm wrong, but all Storm2 BlackBerrys can operate on US CDMA networks. That makes them CDMA-capable, requiring a different chip (Qualcomm) that results in this weird limitation. It does not matter whether the device is connected to a CDMA network or not.

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: Play 2 sounds on Storm 9520, why it's not possible ???

I agree with what you are saying, I'm just restating what the author of this thread stated. Storm2 has a 9520 (the one he is talking about) which is a supposedly non-CDMA phone, the 9550 is the CDMA Storm2.

 

I had a similar issue trying to help someone working on recoding audio and the 9530 (CDMA) and 9500 (non-CDMA) and the audio encoding only worked on the 9500 but not the 9530 even though they have the same chips.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Developer
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: Play 2 sounds on Storm 9520, why it's not possible ???

I got my information from http://www.blackberry.com (UK) "Compare Devices" feature. It lists 9520 as CDMA-capable: the device supports Dual-band 800/1900 MHz CDMA2000 1X Ev-DO networks.

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: Play 2 sounds on Storm 9520, why it's not possible ???

That's what I expected. Do you happen to know why something like 2 audio streams/Players are not possible on CDMA devices? I tried to get more information and could not find anything of use.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Developer
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: Play 2 sounds on Storm 9520, why it's not possible ???

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: Play 2 sounds on Storm 9520, why it's not possible ???

Good work, it's unfortunate but unavoidable.

 

Now I have the urge to write a player that can play 2 or more audio streams on CDMA devices.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Developer
ydaraishy
Posts: 562
Registered: ‎09-30-2009
My Device: Not Specified

Re: Play 2 sounds on Storm 9520, why it's not possible ???

You might be able to write a software audio mixer to do this, but that's a highly nontrivial job.

Please use plain text.