×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    4

    setMediaTime(..) Exception

    Hi,
    I need to jump an audio file (AMR-WB) at a specific time.
    Using setMediaTime() method i get the following exception:

    javax.microedition.media.MediaException: MUS
    at com.nokia.mid.impl.isa.mmedia.audio.AudioOutImpl.setProperty(AudioOutImpl.java:176)
    at com.nokia.mid.impl.isa.mmedia.MediaOut.setMediaTime(MediaOut.java:327)
    at com.nokia.mid.impl.isa.mmedia.MediaPlayer.doSetMediaTime(MediaPlayer.java:237)
    at com.nokia.mid.impl.isa.mmedia.BasicPlayer.setMediaTime(BasicPlayer.java:658)
    at frmReproducir.commandAction(frmReproducir.java:126)
    at javax.microedition.lcdui.Display.consumeDisplayEvent(+731)
    at javax.microedition.lcdui.Display$DisplayAccessor.consumeEvent(+109)
    at com.nokia.mid.impl.isa.ui.EventDispatcher.run(EventDispatcher.java:354)

    This is the line that cause the exception:
    player.stop();
    --> player.setMediaTime(player.getMediaTime()+10000);
    player.start();

    I get this exception in S40 5th emulator and N5310.

    Any idea what this execption means?

    Thanks!!

  2. #2
    Registered User
    Join Date
    Sep 2010
    Posts
    2

    Re: setMediaTime(..) Exception

    Thanks you for the post.

Similar Threads

  1. Which media types do support setMediaTime??
    By fluffyangi in forum Streaming and Video
    Replies: 2
    Last Post: 2010-07-22, 12:01
  2. setMediaTime
    By felixksp in forum Mobile Java General
    Replies: 2
    Last Post: 2010-07-22, 12:00
  3. Problem with setMediaTime()
    By girdhar in forum Mobile Java General
    Replies: 0
    Last Post: 2010-03-24, 11:35
  4. setMediaTime and PlayerListener probs
    By henrygps in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2004-07-31, 00:10
  5. SetMediaTime / restarting sounds
    By Danack in forum Mobile Java Media (Graphics & Sounds)
    Replies: 7
    Last Post: 2004-05-17, 10:49

Posting Permissions

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