Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

I'm desperated about RateControl

 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am looking for a emulator J2ME that enables my application to process RateConrol. I have a Sonyericsson's emulator.

TempoControl tc = (TempoControl) p.getControl("TempoControl");
PitchControl pc = (PitchControl) p.getControl("PitchControl");
RateControl rc = (RateControl)p.getControl("RateControl");

All return null, even when JP-7(for Sonyericsson's handset)is announced to support RateControl and Pitch control. I tried it with a wav (x-wav) and mp3 (mpeg) player.

Has anyone managed to run successfully RateControl with any Emulator?

Thank you in advance for your help.

ould
 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If getControl() returns null that means the control you request is unsupported.
Maybe it'll help to use getControls() to see what controls are available, ie as in the MMAPI javadoc:
 
Ould Nadif
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for your help.

I know how to implement RateControl with J2ME API.
But my problem is that I don't have Emulator to test it.

ould
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic