08-16-2007, 02:35 PM
Join Date: Aug 2007
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Won't return AudioPath
As I mentioned the Player object constructed by the code snippet doesn't have an AudioPath control only a Record control, however according to JSR-135 documentation (not RIM) you should be able to reference audio devices by device name when getting a player from the manager such as:
Player p = Manager.createPlayer(“capture://devmic0?encoding=pcm&rate=11025&bits=16&channels=1 ” )
where the audio device is 'devmic0' , when I run this code on the BB it seems to not matter what I specify as the device name, the app always uses the default device. Does anyone know if you can access named devices on the BB when creating a player,?if so what is the naming convention of the devices. I'd like to be able to costruct a player for recording where I can choose which audio device I use, handset , headset etc. Thanks for any ideas on this!