Re: [Gambas-user] OpenAL (gb.openal) example code

2015-10-21 Thread Benoît Minisini
Le 15/09/2015 07:49, Kevin Fishburne a écrit : > > When I've gotten most everything I need figured out I'll write a > tutorial to accompany the example code. This hopefully will be sooner > than later. > > Currently using Alure.BufferDataFromFile to load sound files into OpenAL > buffers I'm unable

Re: [Gambas-user] OpenAL (gb.openal) example code

2015-10-20 Thread Kevin Fishburne
On 10/20/2015 05:45 PM, Benoît Minisini wrote: > Le 20/10/2015 07:40, Kevin Fishburne a écrit : >> On 09/15/2015 01:49 AM, Kevin Fishburne wrote: >>> Currently using Alure.BufferDataFromFile to load sound files into >>> OpenAL buffers I'm unable to get the buffer properties using the >>> Al.GetBuff

Re: [Gambas-user] OpenAL (gb.openal) example code

2015-10-20 Thread Benoît Minisini
Le 20/10/2015 07:40, Kevin Fishburne a écrit : > On 09/15/2015 01:49 AM, Kevin Fishburne wrote: >> >> Currently using Alure.BufferDataFromFile to load sound files into >> OpenAL buffers I'm unable to get the buffer properties using the >> Al.GetBufferi function. I don't know if this is because I'm

Re: [Gambas-user] OpenAL (gb.openal) example code

2015-10-19 Thread Kevin Fishburne
On 09/15/2015 01:49 AM, Kevin Fishburne wrote: > > Currently using Alure.BufferDataFromFile to load sound files into > OpenAL buffers I'm unable to get the buffer properties using the > Al.GetBufferi function. I don't know if this is because I'm using > Alure versus the regular Al method, but th

Re: [Gambas-user] OpenAL (gb.openal) example code

2015-09-10 Thread Benoît Minisini
Le 11/09/2015 04:12, Kevin Fishburne a écrit : > On 09/07/2015 01:42 AM, Kevin Fishburne wrote: >> >> I now have OpenAL working well but I need to know how to change the >> orientation of the coordinate system to reflect that used by my game. >> Normally in a 3D game the X axis is left/right, the Y

Re: [Gambas-user] OpenAL (gb.openal) example code

2015-09-10 Thread Kevin Fishburne
On 09/07/2015 01:42 AM, Kevin Fishburne wrote: > > I now have OpenAL working well but I need to know how to change the > orientation of the coordinate system to reflect that used by my game. > Normally in a 3D game the X axis is left/right, the Y axis is > up/down/elevation, and the Z axis goes int

Re: [Gambas-user] OpenAL (gb.openal) example code

2015-09-06 Thread Kevin Fishburne
On 08/23/2015 12:43 AM, Kevin Fishburne wrote: > > Okay, I found this code: > > https://hackage.haskell.org/package/OpenAL-1.4.0.1/docs/src/Sound-OpenAL-AL-Listener.html > > with perhaps this being the pertinent information in its comments: > > -- | 'orientation' contains an \"at\" vector and an \"

Re: [Gambas-user] OpenAL (gb.openal) example code

2015-08-22 Thread Kevin Fishburne
On 08/23/2015 12:29 AM, Kevin Fishburne wrote: > On 08/22/2015 10:56 AM, Kevin Fishburne wrote: >> Heh, yes I will. I test; you fix. :) Thanks everyone for the responses >> and fix to the code. Now that I got the very basics working (can load >> and play a sound) I'll start working on getting 3D po

Re: [Gambas-user] OpenAL (gb.openal) example code

2015-08-22 Thread Kevin Fishburne
On 08/22/2015 10:56 AM, Kevin Fishburne wrote: > Heh, yes I will. I test; you fix. :) Thanks everyone for the responses > and fix to the code. Now that I got the very basics working (can load > and play a sound) I'll start working on getting 3D positioning, > doppler, etc. working and will put t

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

2015-08-22 Thread Ru Vuott
I wrote this page: http://www.gambas-it.org/wiki/index.php?title=La_gestione_mediante_il_componente_gb.openal Ven 21/8/15, Benoît Minisini ha scritto: Oggetto: Re: [Gambas-user] OpenAL (gb.openal) example code and problem loading .wav files A

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

2015-08-22 Thread Kevin Fishburne
On 08/21/2015 02:51 PM, Benoît Minisini wrote: > 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. :) >> > You will be the one who will test gb.openal! > > Don't hesitate to p

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 ---

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 reaso

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 ha scritto: Oggetto: Re: [Gambas-user

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 implemen