views:

251

answers:

0

Is it possible to create a custom DataSource class in the BB SDK? The reason I ask this is because I need to record audio at a higher sampling rate than the default 8 kHz that Blackberry gives. Seems like the built in Locators don't support anything higher, just AMR and PCM audio, varying bitrates, but always sampled at 8kHz.

I am 95% sure that it's not a hardware limitation. Most ADC converters are programmable so they are cheaper to manufacturer en masse. Most likely, the ADC on the BB can handle rates higher than the 8kHz default, and I was wondering if the JSR spec will handle this for me if I create a new DataSource.

If anyone has any experience with doing this, please let me know. If this is a viable solution, I'll need help also with how to fill out the inherited methods from the abstract DataSource class.

Thanks in advance.