June 8, 2008  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30

[00:36:02] * KittyCat is back.
[00:37:53] *** kb1ooo has joined #openal
[00:37:55] *** ChanServ sets mode: +v kb1ooo
[02:14:14] <KittyCat> okay, so I have a skeleton app. does opengl/openal initialization and shutdown, with a basic (empty) render loop and input controls.
[02:14:24] <KittyCat> what could I do to make a good openal demo?
[02:19:39] <KittyCat> also, how useful would some sample-accurate controls be? (eg. start/stop/change a source at a precise time measured in samples)
[02:23:47] <kb1ooo> that'd be useful for me.
[02:35:10] <kb1ooo> i'm pretty much an audio n00b.  I've been interested in openal, not for 3D sound, but for its portability.
[02:35:36] <kb1ooo> it'd be nice to see a few examples focussed on porting to openal..
[02:36:47] <KittyCat> I'd imagine sample-accurate controls would mainly be useful for things like rendering midi or module files. not something you'd typically want to do in a game, but perhaps as a stand-alone listening/converter app
[02:36:53] <kb1ooo> e.g. most other APIs are either block, or use callbacks.  OpenAL doesn't use either mechanism.
[02:38:00] <kb1ooo> it'd be useful for me because some of the apps that I'm interested in use the soundcard as a high precision timer, simultaneously while streaming audio.
[02:38:47] <KittyCat> the actual readable timer would likely be as accurate as the update size
[02:39:32] <KittyCat> but the actual mixer can use it as a base value and break/start the mixing at specific points
[02:40:29] <KittyCat> eg.
[02:40:49] <KittyCat> alGenTimers(1, &timer);
[02:41:19] <KittyCat> alTimerStartSource(timer, source, pos);
[02:41:29] <KittyCat> alTimerStart(timer);
[02:41:45] <KittyCat> then once the timer gets to 'pos' samples, the source will automatically start
[02:42:25] <KittyCat> alTimerBegin would probably be a better name to start it, actually..
[02:43:10] <KittyCat> and you'd have alTimerEnd to stop, alTimerReset to reset it back to 0, alTimerRead to read the current position, etc..
[02:45:58] <KittyCat> with source loop points and control for changing the various source parameters (eg. gain, pitch, position), I could imagine being able to render a midi file rather accurately
[02:46:12] <kb1ooo> cool
[02:46:49] <KittyCat> but I can't really think of much use beyond that, except maybe properly timed music fades
[02:47:53] <kb1ooo> that's what'd I'd use it for :)
[02:51:52] *** prophile has quit IRC
[04:09:28] *** barra has quit IRC
[05:08:56] *** juanmabc has quit IRC
[10:17:58] <KittyCat> well, I have a working proof-of-concept streaming api working for freealut, with both C and C++ interfaces
[11:14:20] *** predaeus has joined #openal
[11:14:22] *** ChanServ sets mode: +v predaeus
[11:21:46] * KittyCat is away: sleep
[11:28:38] *** barra has joined #openal
[11:28:40] *** ChanServ sets mode: +v barra
[13:30:56] *** kb1ooo has quit IRC
[14:37:21] *** kb1ooo has joined #openal
[14:37:23] *** ChanServ sets mode: +v kb1ooo
[15:57:24] *** predaeus has quit IRC
[16:04:20] *** predaeus has joined #openal
[16:04:20] *** ChanServ sets mode: +v predaeus
[16:12:06] *** predaeus has quit IRC
[16:24:40] *** predaeus has joined #openal
[16:24:42] *** ChanServ sets mode: +v predaeus
[16:25:28] *** prophile has joined #openal
[16:25:30] *** ChanServ sets mode: +v prophile
[16:26:16] *** predaeus has quit IRC
[16:26:55] *** juanmabc has joined #openal
[16:26:55] *** ChanServ sets mode: +v juanmabc
[16:40:00] *** predaeus has joined #openal
[16:40:02] *** ChanServ sets mode: +v predaeus
[16:43:42] *** predaeus has quit IRC
[16:50:23] *** predaeus has joined #openal
[16:50:23] *** ChanServ sets mode: +v predaeus
[17:21:01] *** nitrotrigger has joined #openal
[17:21:03] *** ChanServ sets mode: +v nitrotrigger
[17:22:01] <nitrotrigger> is openal v0.099 old?
[17:33:28] <nitrotrigger> http://rafb.net/p/S8n3EZ64.html
[17:37:10] <nitrotrigger> aww, looks like I need alut
[19:47:49] <prophile> nitrotrigger: yes
[19:48:41] <nitrotrigger> but how did it guess that alutInit() returns void?
[19:49:11] <prophile> C or C++?
[19:49:16] <nitrotrigger> C++
[19:49:23] <prophile> not a clue
[19:49:31] <nitrotrigger> "Pasted as C++ by nitrortrigger"
[20:26:34] *** barra is now known as barraTV
[20:50:28] *** predaeus has quit IRC
[21:22:04] *** nitrotrigger has quit IRC
[21:29:50] *** juanmabc has quit IRC
[21:33:04] *** juanmabc has joined #openal
[21:33:04] *** ChanServ sets mode: +v juanmabc
[23:01:52] *** Walt has joined #openal
[23:01:52] *** ChanServ sets mode: +v Walt
[23:20:36] *** Walt has quit IRC
[23:23:44] *** barraTV is now known as barra
[23:38:16] <KittyCat> that must be an old alut
[23:38:23] <KittyCat> alutInit returns a boolean
[23:39:50] *** Walt has joined #openal
[23:39:52] *** ChanServ sets mode: +v Walt
[23:43:37] * KittyCat is back.
[23:50:56] <Walt> I bow in fear

top