One more time - recording audio | developer.brewmp.com One more time - recording audio | developer.brewmp.com

Developer

One more time - recording audio

Forums:

I have seen countless threads on the subject on the forum but not a single one has been satisfactorily answering the questions posed, so I thought I'd try again because I am trying to get recording to work on both the emulator and the device.

I have the emulators 2.0, 3.0 and 3.1 at my disposal. Can any of them record audio, preferably in PCM format?

I read in a few threads that you need to install the CMX player in order to get it to work. I tried that but the install doesn't do much of anything, which may be because I have so many instantiations of the BREW SDK on my computer, ranging from 1.1 to 3.1 and anything in between. I also have my emulators in a different location than my SDK installations, which typically contain only the bare minimum of files. The CMX player install doesn't even allow you to define where you want it installed, stupidly assuming the BREWDIR environment variable is the only way to handle this and with no way of override, of course.

So, in order to get this CMX player to work, do I have to place any files into the respective emulator directories? Do I have to declare any dependencies in my MIF file? Is this thing an extension or just a general DLL for the emulator? What the frig is it anyway? No documentation, no samples no jack. Thank you Qualcomm.

And what about devices? Do devices need CMX player also or should they just automagically be able to record PCM data if they are BREW 2.1.3 and up? Is PCM recording implemented in all devices or is this one of BREW's typical "You can implement it if you feel like it" OEM guidelines?

Thanks for any insight anyone may have to the 4 year old and never properly answered question, how can you actually record audio in BREW using both the emulator and the device?

I have read all the other threads on the subject and they do not answer these questions, only beat around the bush rather vaguely, so concise answers that go to the core of the matter only would be appreciated.

Quote:And what about devices? Do devices need CMX player also or should they just automagically be able to record PCM data if they are BREW 2.1.3 and up? Is PCM recording implemented in all devices or is this one of BREW's typical "You can implement it if you feel like it" OEM guidelines?
The latter. Stick to a recent phone and you should be ok.
We did a project involving recording PCM. Our summer intern (pretty clueful) never got audio recording using the simulator. Recording on device was okay, subject to the device actually supporting it. Ignore the datasheet, you need to actually try it. We used the 3 Skype phone for development.

Quote:And what about devices? Do devices need CMX player also or should they just automagically be able to record PCM data if they are BREW 2.1.3 and up? Is PCM recording implemented in all devices or is this one of BREW's typical "You can implement it if you feel like it" OEM guidelines?
The latter. Stick to a recent phone and you should be ok.
We did a project involving recording PCM. Our summer intern (pretty clueful) never got audio recording using the simulator. Recording on device was okay, subject to the device actually supporting it. Ignore the datasheet, you need to actually try it. We used the 3 Skype phone for development.