×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    21

    How to play AMR files in MIDP2.0

    Subj?
    I have application MIDP1.0 that uses OTT for music and AMR for fx sounds by Nokia API
    Now I making port for MIDP2.0 phones (6600 for example) and want to use MIDP2.0's API for sounds: MIDI for music and leave AMR for fx sounds...

    Code sample, please!

    Player player = Manager.createPlayer(getClass().getResourceAsStream("/res/"+filename), "audio/midi");
    player.realize();
    player.prefetch();

    What type like ""audio/x-wav"" needed for AMR? Or may be better use compressed WAV (what type?) that supported on all MIDP2.0 phones?
    1. So, are AMR supported on all MIDP2.0 phones?
    2. And are some copressed WAV supported on all MIDP2.0 phones?

  2. #2
    Registered User
    Join Date
    Nov 2004
    Posts
    33
    Hope this can help you:
    Hope this can help you:
    http://www.forum.nokia.com/Forum/Com...RXBkZg==&type=

Posting Permissions

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