[00:45:05] *** qknight has joined #openal [00:45:06] <qknight> hey [00:45:09] <qknight> KittyCat: still there? [00:45:12] <KittyCat> hi [00:45:17] <qknight> nice to see you [00:45:25] <qknight> my plugin didn't make much progress yet [00:45:29] <qknight> did someone with interest show up? [00:46:17] <KittyCat> rsp asked about a PA backend [00:46:58] *** Walt has joined #openal [00:47:31] <qknight> rsp: ok [00:47:36] <qknight> can he code? [00:48:36] <KittyCat> some, at least. would need to ask him how much he knows [00:49:18] <qknight> ok [00:49:25] <qknight> would be fine to have some help [00:49:30] <qknight> maybe i should setup an svn [00:55:23] <Alam_Debian> why svn when you can setup a copy of openal soft tree with your changes in it? [00:58:20] <qknight> easier to check out [00:58:24] <qknight> the only reason [01:00:11] <Alam_Debian> but with a git tree, you can rebase your code with a pull & rebase command [01:00:22] <qknight> right [01:00:27] <qknight> i should have a look at git [01:00:33] <qknight> does something like trac exist for git? [01:00:40] <qknight> what about mercurial? [01:05:04] <Alam_Debian> there a plugin for trac for git support [01:16:12] <qknight> i've seen it but wasn't convinced that it's good [01:16:20] <qknight> does it also show a timeline for trac as svn does? [01:16:23] <qknight> just curious [01:33:37] *** Walt has quit IRC [02:06:20] *** Walt has joined #openal [04:42:55] *** rs1 has joined #openal [05:01:23] *** rsp has quit IRC [06:30:05] *** rsp has joined #openal [06:30:12] *** ChanServ sets mode: +v rsp [06:32:00] <rsp> I've never worked with really low-level stuff if that is the case qknight [06:41:57] <rsp> I'm turning 10001 today [06:49:04] *** rs1 has quit IRC [08:11:09] *** rsp has left #openal [08:14:50] *** predaeus has joined #openal [08:14:50] *** ChanServ sets mode: +v predaeus [08:26:37] *** juanmabc has joined #openal [08:26:39] *** ChanServ sets mode: +v juanmabc [10:00:09] *** Walt has quit IRC [10:24:43] *** juanmabc has quit IRC [12:18:41] *** nitrotrigger has joined #openal [12:47:50] * KittyCat is away: sleep [13:23:56] <nitrotrigger> maybe I should do a clean install of openal [13:41:27] <nitrotrigger> funny, now I don't have alut.h [13:41:53] <nitrotrigger> I installed freealut though [16:37:21] <nitrotrigger> is the openal-project this dead? [17:16:38] <nitrotrigger> http://rafb.net/p/G2MxaF76.txt [17:47:00] *** rs1 has joined #openal [17:47:07] *** rs1 is now known as rsp [17:47:15] *** ChanServ sets mode: +v rsp [18:14:00] *** rsp has left #openal [19:20:49] *** predaeus has quit IRC [20:50:29] *** juanmabc has joined #openal [20:50:31] *** ChanServ sets mode: +v juanmabc [22:08:25] <KittyCat> openal isn't dead [22:09:04] <KittyCat> I'm very puzzled by those errors, though [22:09:24] <nitrotrigger> I appreciate your effort [22:14:57] <KittyCat> can you paste the lines from your alc.h that it's complaining about? [22:15:07] <KittyCat> or paste all of your alc.h? [22:15:10] <nitrotrigger> sure [22:17:22] <nitrotrigger> ALC_API ALCcontext * ALC_APIENTRY alcGetCurrentContext( ALCvoid ); [22:17:45] <nitrotrigger> typedef ALCcontext * (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( ALCvoid ); [22:18:49] <nitrotrigger> http://rafb.net/p/39Iugr23.html [22:22:05] <KittyCat> looks like its not liking the typedef'd void type as a no-parameter identifier [22:22:18] <KittyCat> its seems like a bug in GCC, since it's perfectly valid, afaik [22:22:32] <nitrotrigger> :( [22:23:02] <KittyCat> if you change the ALCvoid's there to void, does it work? [22:23:10] <nitrotrigger> let's see [22:25:58] <nitrotrigger> it worked [22:26:17] <nitrotrigger> but now I have another problem [22:26:38] <nitrotrigger> I've installed freealut but there's no alut.h in my /usr/include/AL/ [22:27:45] <KittyCat> is there some -devel package for it? [22:28:13] <nitrotrigger> I haven't seen it [22:28:51] <nitrotrigger> there was [22:28:59] <nitrotrigger> fucking great [22:29:39] <nitrotrigger> yum or pirut didn't know about it until I explicitly asked for [22:30:06] <nitrotrigger> now I could compile [22:30:07] <KittyCat> yeah, binary distros like hiding headers from packages [22:30:50] <nitrotrigger> hmm I could try openal [22:31:08] <nitrotrigger> better get headsets because people are sleeping here [22:35:45] * KittyCat is back. [22:44:41] <nitrotrigger> btw. how should I do car engine sounds with opengl? [22:44:44] <nitrotrigger> *openal? [22:55:23] <KittyCat> depends [22:56:08] <KittyCat> you can either have a bunch of car engine sounds at various pitches, stream it and just switch between the pitches as needed [22:56:21] <KittyCat> or just have one sound and pitch it [22:57:10] <qknight> KittyCat: can that sound pitching be done by openal? [22:57:40] <KittyCat> to a degree [22:58:05] <KittyCat> openal can gaurantee pitching a source by half to double. any more than that is impleemntation dependant [22:59:09] <KittyCat> openal soft can go up to 4x [22:59:53] <nitrotrigger> does OpenAL have any delay-functions? [23:01:07] <KittyCat> what kind of delay functions? [23:07:13] <nitrotrigger> something like SDL_Delay() [23:08:00] <KittyCat> liek a resting/sleep function? [23:08:38] <KittyCat> no. but between Sleep (Windows) and nanosleep (everywhere else) you should be covered [23:08:56] *** Begasus has joined #openal [23:08:56] *** ChanServ sets mode: +v Begasus [23:09:08] <Begasus> evening all [23:09:16] <KittyCat> hi [23:09:24] <Begasus> any openal dev's around here? [23:09:48] <KittyCat> me, sorta. [23:09:53] <KittyCat> i'm the dev for openal-soft [23:10:56] <Begasus> trying to compile openal in BeOS (ZETA) but getting a list of undifened references ... [23:11:06] <Begasus> can I post a link to pastebin? [23:11:15] <KittyCat> sure [23:11:18] <Begasus> http://pastebin.com/d1ef9d25d [23:11:22] <Begasus> thnx [23:11:53] <Begasus> I'm geussing the reference for pthread is something that has not been fixed in the pthread port [23:12:10] <Begasus> don't know where the others are comming from atm [23:13:07] <KittyCat> I remember seeing some problems like this before.. at least for the backend stuff. [23:13:14] <KittyCat> don't know about the pthread stuff [23:13:39] <KittyCat> does beos/zeta use oss or alsa? [23:14:14] <Begasus> we have a semi ported version for oss [23:14:22] <Begasus> don't have it installed though [23:14:32] <Begasus> (not sure if it includes the headers either) [23:14:45] <KittyCat> what does it normally use? [23:15:05] <Begasus> it's using it's own mediakit [23:15:41] <Begasus> don't know the technical details for it ;) [23:16:17] <nitrotrigger> how do I change the pitch? [23:16:35] <KittyCat> nitrotrigger, alSourcef(Source, AL_PITCH, pitch); [23:16:50] <KittyCat> where pitch is a float (1.0 = normal pitch) [23:17:00] <nitrotrigger> do I bind the source? [23:17:15] <KittyCat> no, don't need to bind anything [23:17:32] <KittyCat> Begasus, openal 0.0.8 is really old, and there probably won't be any updates to it anytime soon. [23:17:50] <Begasus> it's the most recent one around not? [23:18:11] <KittyCat> openal soft is more or less the successor to it (it's much newer and more actively developed), but it currently only supports alsa and oss [23:18:46] <KittyCat> if you can get OSS working, it might be a good idea to try that. if not, any info on BeOS's audio system would be helpful so I can try to make a backend for it [23:19:00] <nitrotrigger> http://pastebin.com/mf47670 [23:19:04] <nitrotrigger> something like this? [23:19:33] <Begasus> I gather the best way to check up on the BeOS audio system it to check into Haiku's source [23:19:36] <Begasus> atm * [23:20:46] <KittyCat> nitrotrigger, yeah. just make sure to stop and delete the source before the buffer [23:21:14] <nitrotrigger> that isn't working for me [23:22:09] <KittyCat> you'll probably want to put a sleep in the main loop so it doesn't increase out of control [23:22:42] <nitrotrigger> what header file do I need? [23:22:43] <KittyCat> you'll also want to make sure it's looping, unless it's a long enough sound [23:22:54] <nitrotrigger> It's about 3 seconds [23:23:12] <nitrotrigger> I just want to hear it changing pitch [23:23:22] <KittyCat> unistd.h has usleep, if you're on a unix-like system [23:23:31] <nitrotrigger> ok [23:24:22] <KittyCat> while (1) { [23:24:22] <KittyCat> usleep(10000); [23:24:22] <KittyCat> p += 0.05f; [23:24:22] <KittyCat> alSourcef (Source, AL_PITCH, p ); [23:24:22] <KittyCat> } [23:25:44] <nitrotrigger> I still can't hear [23:25:58] <nitrotrigger> the sample is playing but it doesn't change [23:28:08] <KittyCat> try a higher value to increment with [23:29:56] <KittyCat> can also try starting with p at 0.5 instead of 1.0 [23:32:45] <nitrotrigger> now it's working [23:32:56] <nitrotrigger> btw. what's that Openal soft? [23:34:40] <Begasus> ps ... commented out (I know it's wrong but just did it to see how it reacted) the problem areas in the files and it's compiling then [23:34:45] <KittyCat> it's a newer openal implementation. http://kcat.strangesoft.net/openal.html [23:35:02] <Begasus> so it probly is a backend issue and some pthread function not being available I think [23:35:34] <Begasus> wasn't that relying on some gtk stuff or so KittyCat ? (openal soft) [23:35:52] <KittyCat> no it doesn't rely on gtk [23:35:53] <nitrotrigger> KittyCat: is it open source, LGPL, does it work on Linux/Windows/Mac, does it support hardware, etc.? [23:36:25] <KittyCat> open source, lgpl, and works on linux/windows [23:36:37] <KittyCat> there's no backend yet, and it doesn't use hardware acceleration [23:36:42] <KittyCat> *no osx backend [23:37:23] <nitrotrigger> why no hardware? [23:38:14] <KittyCat> because alsa doesn't expose the functionality needed (at least not easilly) [23:38:26] <nitrotrigger> hmm [23:38:43] <KittyCat> and it's probably best to have at least one well functioning implementation that's highly portable without worrying much about the hardware its running on [23:38:44] <nitrotrigger> does openal have the support for hardware acceleration then? [23:39:39] <nitrotrigger> sorry but I haven't worked with sounds much [23:40:01] <KittyCat> it can. in windows, creative's drivers can use accelerated dsound3d, or direct hardware if you have a supported card [23:40:13] <KittyCat> other card manufacturers can do the same [23:40:46] <nitrotrigger> so linux doesn't have any reliable library that supports audio hardware acceleration? [23:41:34] <KittyCat> not 3d acceleration [23:41:43] <nitrotrigger> :( [23:42:00] <KittyCat> alsa provides hardware mixing, if your card supports it [23:42:08] <nitrotrigger> ok [23:42:56] <nitrotrigger> I'm doing an open source 2D "Car" Game and it lacks of sounds [23:43:18] <nitrotrigger> it uses SDL for everything [23:44:04] <Begasus> if you get something working I could check if it is cross platform (in BeOS) ;) [23:44:41] <nitrotrigger> there is something [23:45:09] <nitrotrigger> btw. what is BeOS? [23:46:32] <nitrotrigger> found it [23:46:43] <nitrotrigger> I'm not sure if it's going to work [23:48:27] <nitrotrigger> if you have support for SDL, SDL_ttf, and SDL_gfx then it could work [23:49:58] <nitrotrigger> but now I need to sleep [23:50:09] <nitrotrigger> I will come back [23:50:18] *** nitrotrigger has quit IRC [23:51:09] <KittyCat> Begasus, it might be worth it to install the OSS support stuff for beos [23:51:18] <KittyCat> a lot of apps use OSS [23:53:47] <Begasus> it's a first port of oss [23:53:54] <Begasus> installed just a sec ago [23:54:01] <Begasus> so checking out atm