Author Topic: uFmod 1.25  (Read 3159 times)

0 Members and 1 Guest are viewing this topic.

Offline hellsangel

  • C= 64
  • **
  • Posts: 46
  • Karma: 10
    • View Profile
uFmod 1.25
« on: September 15, 2010 »
hello

I need the function getroworder from the last versions of uFmod, but I don't understand how works the new volume scale  ???
the values are no longer 0 to 64 (from original amiga volume min and max) but 0 to 25.
I tried to convert old volume to new one (scale /2.56) but that doesn't work.
how to use setvolume in the last version of uFmod with older values ?

thanks

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2756
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: uFmod 1.25
« Reply #1 on: September 16, 2010 »
Yes, scaling your volume values by 2.56 should be working, just remember that you need to pass integer values for "uFMOD_SetVolume" function.

Anyway I have compiled a new "ufmod.obj" for you with proper scale from 0 to 64 :)


Challenge Trophies Won:

Offline hellsangel

  • C= 64
  • **
  • Posts: 46
  • Karma: 10
    • View Profile
Re: uFmod 1.25
« Reply #2 on: September 16, 2010 »
waou!
wonderful! many thanks Rbz !!!  :cheers:
you're the god of asm  :clap:

:goodpost:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2756
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: uFmod 1.25
« Reply #3 on: September 17, 2010 »
I'm glad to help  :cheers:

Challenge Trophies Won: