Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Capturing Audio and J2ME WTK 2.1  RSS feed

Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i'm programming a MIDlet for capturing sound from the device's microphone. When I use the

J2ME Wireless Toolkit 2.0_01

the command

Player player = Manager.createPlayer("capture://audio?rate=8000&bits=8&Channels=1");

works correctly. But when i change to the latest version

J2ME Wireless Toolkit 2.1

i get the error "Cannot create Data Source for...". Does anybody has an idea what is and how to fix the problem ? I have to use the latest WTK because i need the floating point arithmetic which is not supported in the 2.0 version.

Thanks in advance for any help
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!