1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

FMOD LengthsMS don't work at VBR

Discussion in 'Basic4ppc Wishlist' started by sloopa, Jun 13, 2007.

  1. sloopa

    sloopa Member Licensed User

    Hello Erel,

    your FMOD DLL needs another property :)

    FMOD has Problems with VBR-MP3s, so my song goes 3 minutes in real time and FMOD says 16 minutes.

    FMOD has the option in stream-opening for FSOUND_MPEGACCURATE.
    ([SIZE=-1]stream := FSOUND_Stream_Open(data, FSOUND_NORMAL | FSOUND_MPEGACCURATE ...)[/SIZE]

    Is it difficult for you to update your dll??
  2. Erel

    Erel Administrator Staff Member Licensed User

    I shouldn't be too hard.
    I'll check it.
  3. Erel

    Erel Administrator Staff Member Licensed User

    FMOD library version 1.4 is attached.
    As it is only a minor update it will not appear for now in the downloads page.
    The new method is Play2 which receives the play mode as the second argument.
    You will probably need to use 131073 = ([SIZE=-1]FSOUND_NORMAL | FSOUND_MPEGACCURATE).[/SIZE]

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice