Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Several Audio streams while making a call  RSS feed

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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!