Donate Share

Java Monkey's Audio

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Seek support

You are viewing a single message from this topic. View all messages.

  1. 2009-01-21 17:48:58 UTC
    Hi!
    I`m again here :)
    I done, what you wrote: I take IAPEDecompress m_decoder and envoked Seek(blocks) method. But I have an exception:

    davaguine.jmac.tools.JMACException: Unsupported Method
    at davaguine.jmac.tools.InputStreamFile.seek(InputStreamFile.java:164)
    at davaguine.jmac.decoder.UnBitArrayBase.FillAndResetBitArray(UnBitArrayBase.java:80)
    at davaguine.jmac.decoder.APEDecompress.SeekToFrame(APEDecompress.java:361)
    at davaguine.jmac.decoder.APEDecompress.Seek(APEDecompress.java:132)
    at ru.orbita.nplayer.player.Player.setCurrentPosition(Player.java:1028)

    I evaluated blocks count like this:
    blocks = (int)((long)getApeInfoDecompressTotalBlocks * duration / currentPosition)
    As an example for one .ape file and mouse seek, I have blocks = 10532079, while total blocks is 105320796.

    What is incorrect?

    Thanks (Спасибо!)
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.