When I wrote this my message, I didn't update the last version, where 
gb.sdl2.audio do not needs gb.sdl2 anymore.

vuott


--------------------------------------------
Ven 2/1/15, Benoît Minisini <gam...@users.sourceforge.net> ha scritto:

 Oggetto: Re: [Gambas-user] R: SDL2 : "Channel" Class has not property nor 
metods...
 A: "mailing list for gambas users" <gambas-user@lists.sourceforge.net>
 Data: Venerdì 2 gennaio 2015, 13:29
 
 Le 02/01/2015 12:55, Ru
 Vuott a écrit :
 > Ok, I understand, 
 but my problem is:
 >
 >
 with the old "gb.sdl.sound" component if I wanted
 to use .Stop() method to stop the playing, i can put on the
 Form a Button and in Button_Click() event i can write
 .Stop() method.
 >
 >
 Now, with SDL2 how can I create a Button and its active
 _Click() event ?
 >
 >
 Regards
 > vuott
 >
 
 I don't understand your
 problem at all. I have just took the LCDLabel 
 example, uncheck 'gb.sdl.sound', check
 'gb.sdl2.audio', and it works.
 
 (Note: except that now you must specify
 Sound.Frequency = 48000, because 
 the SDL
 music player cannot resample the sound. But this is not
 related 
 to your problem)
 
 -- 
 Benoît Minisini
 
 ------------------------------------------------------------------------------
 Dive into the World of Parallel Programming!
 The Go Parallel Website,
 sponsored by Intel
 and developed in partnership with Slashdot Media, is your
 hub for all things parallel software
 development, from weekly thought
 leadership
 blogs to news, videos, case studies, tutorials and more.
 Take a
 look and join the conversation now.
 http://goparallel.sourceforge.net
 _______________________________________________
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to