[01:41:19] *** barra has joined #openal [02:28:58] *** Walt has quit IRC [03:07:41] *** barra has quit IRC [03:08:09] *** barra has joined #openal [04:33:59] *** barra has quit IRC [06:02:23] * KittyCat is back. [09:45:13] *** predaeus has joined #openal [09:45:13] *** ChanServ sets mode: +v predaeus [11:06:20] *** predaeus has quit IRC [12:39:01] *** Walt has joined #openal [12:59:42] *** juanmabc has joined #openal [12:59:42] *** ChanServ sets mode: +v juanmabc [13:04:41] *** Setien has joined #openal [13:04:41] *** ChanServ sets mode: +v Setien [13:06:46] *** Clemsye has joined #openal [13:08:40] <Clemsye> hello [13:08:54] <Clemsye> [13:08:55] <Clemsye> I would like to know if the doppler effect causes an acceleration of the playback position of a sound source [13:09:09] <Clemsye> like the pitch properties [13:14:43] *** Setien has quit IRC [13:22:00] *** Clemsye has quit IRC [13:34:19] *** Setien has joined #openal [13:34:19] *** ChanServ sets mode: +v Setien [13:58:58] *** theDon has quit IRC [14:07:26] *** Setien has quit IRC [14:08:21] *** theDon has joined #openal [14:08:21] *** ChanServ sets mode: +v theDon [14:22:22] *** Walt has quit IRC [14:43:30] *** Setien has joined #openal [14:43:31] *** ChanServ sets mode: +v Setien [14:56:29] *** Walt has joined #openal [15:14:41] *** Walt has quit IRC [15:34:36] *** D0pamine has quit IRC [15:40:44] *** nitrotrigger has joined #openal [15:41:52] <nitrotrigger> what parameters does alutInit() want? [15:42:05] *** Setien has quit IRC [15:42:55] <KittyCat> a list of options, basically. but I don't know what's supported [15:43:29] <KittyCat> typically you'd pass it your main()'s argv/argc, so your app would share the same options as alut [15:46:33] <nitrotrigger> I'll just give it alutInit(NULL, NULL); [15:48:36] <nitrotrigger> how do I check for errors? [15:48:52] <nitrotrigger> if (alutInit(NULL, NULL) == AL_ERROR) { //what here? } [15:49:07] <nitrotrigger> do I call alutGetError() or alGetError()? [15:50:02] <KittyCat> it returns AL_FALSE on error [15:50:14] <KittyCat> and sets alutGetError() [15:52:57] <nitrotrigger> thanks [15:55:36] <nitrotrigger> http://rafb.net/p/Zdx4hP19.txt [15:55:37] <nitrotrigger> like this? [15:56:08] <KittyCat> yeah [15:56:49] <nitrotrigger> do I have to reset alutGetError() like alGetError()? [15:58:12] <KittyCat> when there's an error [15:58:29] <KittyCat> alut functions will return an error value to say if you should check it or not, though [15:59:26] <nitrotrigger> not something I would have expected [16:08:59] *** predaeus has joined #openal [16:09:00] *** ChanServ sets mode: +v predaeus [16:15:31] <nitrotrigger> hmm [16:16:17] <nitrotrigger> if I'm making a car game then can you imagine any situation where I couldn't integrate a buffer and the source to same structure? [16:18:38] <KittyCat> not sure what you mean.. [16:19:18] <nitrotrigger> is it ok to make a structure and put the buffer and source objects there [16:19:27] <KittyCat> yeah [16:37:12] *** Walt has joined #openal [16:49:58] <nitrotrigger> what units sourcepos and listenerpos, etc. use? [16:57:40] *** Walt has quit IRC [16:58:19] <nitrotrigger> I really need a better tutorial [16:58:39] <nitrotrigger> http://www.devmaster.net/articles/openal-tutorials/lesson1.php [16:58:47] <nitrotrigger> this doesn't really explain anything [17:10:58] <juanmabc> nitrotrigger: check section 3.2 and 3.3 for units: http://www.openal.org/openal_webstf/specs/oal11spec_html/oal11spec3.html [17:28:05] *** D0pamine has joined #openal [17:28:06] *** ChanServ sets mode: +v D0pamine [17:52:13] *** barra has joined #openal [18:06:10] * KittyCat is away: sleep [18:12:50] <nitrotrigger> how am I supposed to save the error flag? [18:13:20] <nitrotrigger> the specification only says it's "enum" [18:18:42] <nitrotrigger> ALenum errflag = alGetError(); if (errflag != AL_NO_ERROR) {std::cerr << alGetString(errflag) << "\n";return -1;} [18:18:51] <nitrotrigger> hopefully this will work [18:46:21] *** predaeus has quit IRC [21:01:51] *** predaeus has joined #openal [21:01:51] *** ChanServ sets mode: +v predaeus [22:32:48] *** rsp has joined #openal [22:32:48] *** ChanServ sets mode: +v rsp [22:33:10] <rsp> Hello [22:33:36] <nitrotrigger> hello [22:33:49] <barra> heya [22:33:53] <nitrotrigger> how do I change master volume of a source? [22:35:44] <rsp> AL_GAIN [22:35:45] <rsp> ? [22:36:32] <rsp> alListenerf(AL_GAIN,float); [22:36:33] <nitrotrigger> there's MIN_GAIN and MAX_GAIN [22:36:49] <rsp> 1.0 is full volume or something [22:36:57] <nitrotrigger> not for listener but for source [22:37:16] <rsp> Oh [22:38:09] <nitrotrigger> now I forgot why I was looking for it [22:38:31] <rsp> Fade older sounds out nicely? [22:39:33] <nitrotrigger> well I get back into it [22:41:07] <nitrotrigger> btw. looks like there is just AL_GAIN for sources also [22:41:42] <rsp> Ok [22:42:21] <nitrotrigger> I wonder why I couldn't find it from the specs [22:47:58] *** Walt_ has joined #openal [23:07:04] *** nitrotrigger has quit IRC [23:50:42] *** rsp has left #openal