From 327ad6bacfa178e70c11ca89231f3f52a10b1660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Wed, 31 Dec 2014 13:38:28 +0000 Subject: [PATCH] [GB.SDL2.AUDIO] * BUG: Fix Music.Volume property. git-svn-id: svn://localhost/gambas/trunk@6782 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.sdl2/src/audio/c_music.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.sdl2/src/audio/c_music.c b/gb.sdl2/src/audio/c_music.c index eefe15a0d..53244a019 100644 --- a/gb.sdl2/src/audio/c_music.c +++ b/gb.sdl2/src/audio/c_music.c @@ -211,7 +211,7 @@ GB_DESC MusicDesc[] = GB_STATIC_METHOD("Pause", NULL, Music_Pause, NULL), GB_STATIC_METHOD("Stop", NULL, Music_Stop, "[(FadeOut)f]"), - GB_STATIC_PROPERTY("Volume", "f", Music_Volume), + GB_STATIC_PROPERTY("Volume", "i", Music_Volume), GB_STATIC_PROPERTY("Pos", "f", Music_Pos), GB_STATIC_PROPERTY_READ("State", "i", Music_State),