[android-developers] Re: AudioTrack usage with streaming data in native code

2009-11-16 Thread Stoffe
Hi! It all depends on the frequency you set. For 8000 Hz 8 bit PCM, 160 should be good and for 16 bit you should provide the double e.g 320. This is for mono so make sure that you are using the same settings at both ends. //Stoffe On Nov 10, 11:00 pm, Bytes wrote: > Hi, > > Why can't you try Au

[android-developers] Re: AudioTrack usage with streaming data in native code

2009-11-10 Thread Bytes
Hi, Why can't you try AudioTrack's write() function ? On Nov 9, 6:51 am, DuncanLee wrote: > Dear All, > >    I connect onestreamingapplication voice output to androidAudioTrackin > native code layer (C code). > But I can heard voice loop. > > if i put each frame(160bytes) toAudioTrackwrit

[android-developers] Re: AudioTrack usage with streaming data in native code

2009-11-10 Thread Lee Duncan
HElp!! Is there anyone know how many size of data i need to fill into AudioTrack write()? Please Help Big Thanks!! 2009/11/9 DuncanLee > Dear All, > > I connect one streaming application voice output to android > AudioTrack in native code layer (C code). > But I can he