[00:27:04] *** rsp has left #openal [00:47:36] *** ChanServ sets mode: +v qknight [01:00:59] *** prophile has quit IRC [01:02:49] <qknight> KittyCat: good news, the CMake detection for pulseaudio is done [03:39:39] <KittyCat> cool [03:47:35] * KittyCat is back. [13:08:25] <qknight> KittyCat: i will fix a couple of issues in the near future [13:08:43] <qknight> KittyCat: could you help me with some things i don't understand? [13:08:51] <KittyCat> I can try [13:09:00] <qknight> KittyCat: i don't know how to run the pkgconfig script with the needed parameters [13:09:16] <qknight> i paste what i have [13:09:34] <qknight> # pkg-config libpulse --libs [13:09:34] <qknight> # pkg-config libpulse --cflags [13:09:34] <qknight> # http://svn.gna.org/svn/wormux/trunk/cmake/UsePkgConfig.cmake [13:09:46] <qknight> how should i integrate that? [13:09:55] <qknight> right now i have this: [13:09:56] <qknight> IF(PULSEAUDIO) [13:09:59] <qknight> CHECK_INCLUDE_FILE(pulse/pulseaudio.h HAVE_PULSE_PULSE_H) [13:10:00] <qknight> IF(HAVE_PULSE_PULSE_H) [13:10:00] <qknight> SET(HAVE_PULSEAUDIO 1) [13:10:00] <qknight> SET(ALC_OBJS ${ALC_OBJS} Alc/pulseaudio.c) [13:10:00] <qknight> SET(BACKENDS "${BACKENDS} PulseAudio,") [13:10:02] <qknight> SET(EXTRA_LIBS -lpulse ${EXTRA_LIBS}) [13:10:05] <qknight> ENDIF() [13:10:24] <qknight> ENDIF() [13:13:02] <KittyCat> I guess, PKGCONFIG(libpulse "" "" "" PACFLAGS) [13:13:13] <KittyCat> then add PACFLAGS to the current cflags [13:14:13] <KittyCat> you shouldn't need to set EXTRA_LIBS. the lib should be loaded dynamicly [13:15:18] <qknight> ok, i will have a look at that [13:16:08] <qknight> thanks [13:16:51] <qknight> btw i have found a nice way to find out the application name [13:16:54] <qknight> FILE* input = fopen("/proc/self/cmdline","r"); [13:17:04] *** Walt_ has joined #openal [13:17:31] <KittyCat> caqn't rely on /proc existing [13:17:44] *** Walt has quit IRC [13:18:01] *** Walt_ is now known as Walt [13:18:02] <KittyCat> and that would be different depending on symlinks [13:18:10] <qknight> KittyCat: i know. but if it isn't existing then the name is set to 'generic openal client' [13:18:37] <qknight> KittyCat: yes, it's just to give the user a clue what the process could be [13:19:24] <qknight> KittyCat: there are many problems with this solution but since the openal lib isn't initialized with a 'job description/name' it can't be made better [14:41:10] *** rsp has joined #openal [14:41:12] *** ChanServ sets mode: +v rsp [15:34:04] <qknight> KittyCat: isn't that ok? [15:34:31] <KittyCat> for now [15:34:43] <qknight> KittyCat: ok, what would you change? [15:35:22] <qknight> if the program tries to open /proc/self/cmdline and it fails, it fails silently without any broken code [15:36:59] <KittyCat> honestly, I don't like pulseaudio's per-app volume settings (for reasons such as this). [15:37:29] <KittyCat> but if PA users are intent on having it, as long as it doesn't really break [16:06:22] <qknight> well windows does have that as well [16:06:31] <qknight> so this is no pulseaudio specific extnsion [16:06:53] <qknight> KittyCat: i mean windows vista [17:08:53] *** juanmabc has joined #openal [17:08:54] *** ChanServ sets mode: +v juanmabc [17:40:41] *** juanmabc has quit IRC [18:53:15] * KittyCat is away: sleep [19:06:18] *** prophile has joined #openal [19:06:18] *** ChanServ sets mode: +v prophile [21:26:53] *** Alam_Debian has quit IRC [22:01:05] *** Alam_Debian has joined #openal [22:01:06] *** ChanServ sets mode: +v Alam_Debian [22:03:19] *** juanmabc has joined #openal [22:03:19] *** ChanServ sets mode: +v juanmabc [23:27:26] *** rsp has left #openal [23:41:54] *** prophile has quit IRC