Working with a server that requires the WAV file format for audio greetings
to be in PCM 16 bit - horsing around with the MediaRecorder, MediaPlayer
this weekend I can get it to playback the PCM files just dandy and I can
record files and play them back on the Android device but I cannot get PCM
as the output format for recording - the output format options are limited
to just a couple so far as I can tell.  I've seen numerous examples on the
Android dev formums but most are just using 3gp and having problems with the
recording/playback of that (which is not my issue).

I see there's an AudioRecord class but I haven't had much luck using it and
the docs/examples are thin - it looks like it might provide a way to
manually read audio buffers in and save them off with some elbow grease but
I haven't had much luck figuring out the audio format constants it's looking
for in the construtor for PCM/mono and such.

Anyone know of a straight forward way to go about this?

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/any-way-to-record-audio-in-PCM-ulaw-directly-tp5147157p5147157.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to