Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Several Audio streams while making a call

 
Alexander Moosly
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking for the most correct way (or just any way) to play sound in several streams while making a call. For example, while calling sound goes out of internal speaker, but I need to play music from both speakers at a time. Also I need to play it from different sources(one from call , another one from external source).
I have tried to do this, but I am got simultaneous playing music and outgoing call. Here is my code.



By the way, it plays several sound streams together without any lags) I need to play my mp3 file in another stream and from the external speaker.
Is there any way to do this using default API or reflection, or if it isn't possible using standard features , maybe there any ability to do this using native interface or editing system files or changing firmware at worst.
Thanks
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!