Re: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files

2015-08-21 Thread Ru Vuott
one allocation is not freed... I don't know what it is. ...because we have to destroy also the audio context: Alc.DestroyContext(AudioContext) Regards vuott Ven 21/8/15, Jussi Lahtinen jussi.lahti...@gmail.com ha scritto: Oggetto: Re:

Re: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files

2015-08-21 Thread Jussi Lahtinen
Fixed code attached. However, one allocation is not freed... I don't know what it is. Jussi On Fri, Aug 21, 2015 at 7:39 AM, Kevin Fishburne kevinfishbu...@eightvirtues.com wrote: Okay Benoît, you can take me off your list of people to kill now that I've finally gotten around to

Re: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files

2015-08-21 Thread Benoît Minisini
Le 21/08/2015 06:39, Kevin Fishburne a écrit : Okay Benoît, you can take me off your list of people to kill now that I've finally gotten around to implementing OpenAL. :) The documentation online is pretty spartan, with much of it being outdated, but I still managed to set things up

Re: [Gambas-user] Segfault with certain array sizes

2015-08-21 Thread Tobias Boege
On Fri, 21 Aug 2015, Beno?t Minisini wrote: Le 21/08/2015 10:04, Tobias Boege a ?crit : Hi Benoit (or Adrien, as I've seen you are a good substitute :-)), while testing a project for a thread by martin p cristia yesterday, I saw that segfaults could occur when allocating an array of

Re: [Gambas-user] Segfault with certain array sizes

2015-08-21 Thread Benoît Minisini
Le 21/08/2015 10:04, Tobias Boege a écrit : Hi Benoit (or Adrien, as I've seen you are a good substitute :-)), while testing a project for a thread by martin p cristia yesterday, I saw that segfaults could occur when allocating an array of certain size. Use the attached project to create a

Re: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files

2015-08-21 Thread Jussi Lahtinen
...because we have to destroy also the audio context: Alc.DestroyContext(AudioContext) That was what I suspected, I just couldn't find the function (!?) to do it, and thus I assumed it is done along with other destroy functions. Jussi

[Gambas-user] R: OpenAL (gb.openal) example code and problem loading .wav files

2015-08-21 Thread Ru Vuott
the function to load a .wav file into an audio buffer in order to play it. The latter doesn't work, however. The alure class seems to be similar to glu in that it's a high-level helper class to make common functions easy, such as loading sound files directly. This line should load the

Re: [Gambas-user] SQLite problem, data has not been read

2015-08-21 Thread Ivan Kern
Thanks, you are right , it works now. Regards, Ivan -Ursprüngliche Nachricht- Von: Benoît Minisini [mailto:gam...@users.sourceforge.net] Gesendet: Donnerstag, 20. August 2015 15:33 An: mailing list for gambas users Betreff: Re: [Gambas-user] SQLite problem, data has not been read

Re: [Gambas-user] Issue 633 in gambas: Opening page Mouse does not work in IDE

2015-08-21 Thread gambas
Comment #2 on issue 633 by justlost...@gmail.com: Opening page Mouse does not work in IDE https://code.google.com/p/gambas/issues/detail?id=633 after testing some more fmain.dwgWelcome.Ignore set to false makes it work yes i know it means ignore for arrange, but it resoles my issue

[Gambas-user] R: OpenAL (gb.openal) example code and problem loading .wav files

2015-08-21 Thread Ru Vuott
Hello Kevin, you did a good work. Well, in your code I replaced 'setting up listener' code with this: ' Set up listener. Al.Listenerfv(Al.POSITION, [0, 0, 0]) Al.Listenerfv(Al.VELOCITY, [0, 0, 0]) Al.Listenerfv(Al.ORIENTATION, [0, 0, -1]) and the wav file plays (but NOT sine wave and wav

Re: [Gambas-user] Multidimensional dynamic array basics

2015-08-21 Thread Tobias Boege
On Fri, 21 Aug 2015, Kevin Fishburne wrote: On 08/21/2015 12:00 AM, Kevin Fishburne wrote: On Wed, Aug 19, 2015 at 9:22 AM, Kevin Fishburne kevinfishbu...@eightvirtues.com wrote: I need to know how to declare, initialize and add elements to a two-dimensional dynamic array. Using

Re: [Gambas-user] Issue 633 in gambas: Opening page Mouse does not work in IDE

2015-08-21 Thread gambas
Comment #3 on issue 633 by justlost...@gmail.com: Opening page Mouse does not work in IDE https://code.google.com/p/gambas/issues/detail?id=633 in svn version it is set to true, got cut off -- You received this message because this project is configured to send all issue notifications to

[Gambas-user] Segfault with certain array sizes

2015-08-21 Thread Tobias Boege
Hi Benoit (or Adrien, as I've seen you are a good substitute :-)), while testing a project for a thread by martin p cristia yesterday, I saw that segfaults could occur when allocating an array of certain size. Use the attached project to create a Float[] of different numbers of elements. Over

Re: [Gambas-user] Multidimensional dynamic array basics

2015-08-21 Thread Kevin Fishburne
On 08/21/2015 12:00 AM, Kevin Fishburne wrote: On Wed, Aug 19, 2015 at 9:22 AM, Kevin Fishburne kevinfishbu...@eightvirtues.com wrote: I need to know how to declare, initialize and add elements to a two-dimensional dynamic array. Using trial-and-error for every possible syntax hasn't been