Is it actually possible to record any format besides a WAVE?
The code I'm using below to record WAVE's works just fine - straight from the Kitchen Sink. When I switch it to MP3 or AIFF my app either crashes(MP3) or just does nothing(AIFF). Does each format use a specific audio format? Not sure what's going on…
var recording = Ti.Media.createAudioRecorder();
recording.compression = Ti.Media.AUDIO_FORMAT_ULAW;
recording.format = Ti.Media.AUDIO_FILEFORMAT_WAVE;
Thx!
3 Answers
-
Bump.
Keep hoping for a fix with each SDK release.
Is it possible to break things by mixing the wrong compression with the wrong format? If it's just plain broke why put it in the API?
Anyone know of a solution or have any info about this? Thx!!
-
I don't see a ticket in Lighthouse against it, so it looks like the issue is not on our radar screen. To put it there, can you:
- Create a simple app.js file which reproduces the issue
- Make sure it's still an issue using the latest continuous build
- Create a Lighthouse issue, attaching the test case
- Tag with 'defect' and 'iphone' or 'android', as appropriate
-
Thanks for letting us know - we whack the moles as fast as we possibly can.
-
Any fixes on this issue?