audiotrack to voice call

All your problems with Audio, Video and Images.

audiotrack to voice call

Postby aw4y » Sat Oct 16, 2010 6:55 pm

hi all,
i'm trying to play a sample to voice call uplink stream...

int minSize =AudioTrack.getMinBufferSize( 44100, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT );
final AudioTrack track = new AudioTrack( AudioManager.STREAM_VOICE_CALL, 44100,
AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT,
minSize, AudioTrack.MODE_STREAM);
track.play();

and then send data to the stream...but it does not play to the calling phone...

is it maybe a problem with AudioManager, but how may i configure the routing process?

thanks in advance,
regards
aw4y
Freshman
Freshman
 
Posts: 6
Joined: Thu Oct 07, 2010 2:10 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 10 guests