Page 1 of 1

Setvolume no work

Posted: Sat Dec 17, 2016 12:18 pm
by sinisrus
Hello,

I test setvolume for make fadein/fadeout

my code not work :-(

Code: Select all

/* Nouveau projet Hollywood */

@Sample 1,"son1.wav"

        PlaySample(1)
        Wait(10)
        For k = 64 To 0 Step -1
           SetVolume(1,k)
        Wait(2)

        Next

/* Boucle infinie */
Repeat
        WaitEvent
Forever
thank for your help

Re: Setvolume no work

Posted: Sat Dec 17, 2016 1:41 pm
by airsoftsoftwair
Which platform?

Re: Setvolume no work

Posted: Sat Dec 17, 2016 5:07 pm
by sinisrus
OS4

I tested my code with :
Hollywood4.0 (good work)
Hollywood 6.0, 6.1 (no work)

Re: Setvolume no work

Posted: Wed Dec 21, 2016 10:13 pm
by airsoftsoftwair
Ok, I can confirm this issue. It is related to the new audio driver introduced in Hollywood 6.0 and only AmigaOS 4, MorphOS and AROS are affected. I'll fix this for the next version. Until then, you can just use the legacy audio driver by passing the LEGACYAUDIO argument (or setting the tooltype).

Re: Setvolume no work

Posted: Thu Dec 22, 2016 8:47 am
by sinisrus
ok thank you