Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2008

    Rate Control is not working

    hi all, I tried to get the ratecontrol object and change the rate as below

    Player p2 = Manager.createPlayer(inputStream, "audio/wav" );
    RateControl vc = (RateControl) p2.getControl("RateControl");

    however the rate is not changed. Can anyone know why? and how could i change the rate for non midi things?

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Noida, India

    Re: Rate Control is not working

    Try to use vc.getMaxRate() and vc.getMinRate() - see what values you get, and you can use setRate() to set a value between these two min and max values only.
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Registered User
    Join Date
    May 2008

    Re: Rate Control is not working

    hi Amitabh, thanks but I already tried to set between max and min value.

    Min is 0
    Max is 10000,
    current value is 10000
    so I set it to a value 1000 something.

    And after I set it , I get the rate again to check for the value immediately, but the value don't change at all ( remains at 10000 )

    the api don't work on S40?

  4. #4
    Registered User
    Join Date
    May 2008

    Re: Rate Control is not working


    anyone have similar problems?

Similar Threads

  1. Half-rate codec & AMR Half-rate codec support to Nokia n-series mobile
    By imsohel in forum General Development Questions
    Replies: 2
    Last Post: 2011-01-31, 10:52
  2. [Moved] N95 8-GB Volume control not working
    By ruchirvasavada in forum Audio
    Replies: 2
    Last Post: 2008-11-28, 11:17
  3. Replies: 4
    Last Post: 2008-05-04, 17:26
  4. Browser Control LoadUrlL not working
    By saha_forumnokia in forum Symbian
    Replies: 3
    Last Post: 2007-12-26, 18:18
  5. Rate Control and frame pos control
    By michaelhann89 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-05-15, 20:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts