[android-developers] Re: javax.sound alternative

2012-10-12 Thread raghu
Hey all has any one figured out a way to handle this ? please shre here .. am facing the same issue weird thing is android doesnt throw any compilation error but blows up at run time :( On Saturday, September 17, 2011 12:27:02 PM UTC-7, Raviteja Dodda wrote: > > I am facing the same issue. > >

[android-developers] Re: javax.sound alternative

2011-09-17 Thread Raviteja Dodda
I am facing the same issue. I wanted to use AudioSystem from javax.sound.sampled package. How did you solve your problem? Ravi -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@google

[android-developers] Re: javax.sound alternative

2010-10-08 Thread Mrid
Does Android supports recording in u-law format. I can see PCM-16 and PCM-8bit raw format. If not, what can be done like adding header separately? On Oct 7, 4:37 pm, Mrid wrote: > Thank you Mark for the reply. > I am here uptil now. > >                         int bufferSize = > AudioRecord.getMi

[android-developers] Re: javax.sound alternative

2010-10-07 Thread Mrid
Thank you Mark for the reply. I am here uptil now. int bufferSize = AudioRecord.getMinBufferSize(8000, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT); AudioRecord recorder = new AudioRecord(MediaRecorder.AudioSource.MIC, 8000

[android-developers] Re: javax.sound alternative

2010-10-07 Thread OldSkoolMark
The current Android audio API's are rather spotty in terms of what they provide. You'll have to write your own .wav converter at the very least. On Oct 7, 2:09 pm, Mrid wrote: > can anyone please help me on this ? > > On Oct 6, 3:37 pm, Mrid wrote: > > > Hi All, > > > wanted to know is there any

[android-developers] Re: javax.sound alternative

2010-10-07 Thread Mrid
can anyone please help me on this ? On Oct 6, 3:37 pm, Mrid wrote: > Hi All, > > wanted to know is there any alternative ofjavax.sound.sampled package > specially AudioSystem and TargetDataLine class. Here is the sample > code in java I am referring to : > >                 1       AudioFormat af