Discussion:
ALSA doesn't compile
Paul Heldens
2005-01-27 15:29:09 UTC
Permalink
like another user said before me, building with alsa support doesn't
work.
I get the same error.

gcc version 3.4.2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://icculus.org/pipermail/quake2/attachments/20050127/8f131bca/attachment.pgp>
brendanburns
2005-01-27 22:38:56 UTC
Permalink
Okay,
I've fixed the compile error (actually I fixed it a while ago but it never made it into the tarball for some reason...). I'm not 100% positive the alsa sound driver works properly. I'd stick with SDL for the time being for most people.

There is a bugfix release 0.16.1 posted on the site...

It also contains (I hope [for like the billionth time]) a fix to the mouse bug that some people have seen. Mouse works fine for me in both SDL and GLX in both windowed and fullscreen mode. Let me know if it doesn't for you.

--brendan
Post by Paul Heldens
like another user said before me, building with alsa support doesn't
work.
I get the same error.
gcc version 3.4.2
-------------- next part --------------
An embedded message was scrubbed...
From: Paul Heldens <pheldens at tiscali.nl>
Subject: [quake2] ALSA doesn't compile
Date: Thu, 27 Jan 2005 15:29:48 +0000
Size: 678
URL: <http://icculus.org/pipermail/quake2/attachments/20050127/3bf8f175/attachment.eml>
coyote
2005-01-27 23:02:45 UTC
Permalink
Post by brendanburns
Okay,
I've fixed the compile error (actually I fixed it a while ago but it never made it into the tarball for some reason...). I'm not 100% positive the alsa sound driver works properly. I'd stick with SDL for the time being for most people.
There is a bugfix release 0.16.1 posted on the site...
It also contains (I hope [for like the billionth time]) a fix to the mouse bug that some people have seen. Mouse works fine for me in both SDL and GLX in both windowed and fullscreen mode. Let me know if it doesn't for you.
--brendan
Hi Brendan,

Mouse works fine with current CVS (congrats on fixing it) in GLX mode but
it's now broken in ref_softx. I have not done any regression testing on
sparc yet (Will do tomorrow..).

BTW, You appear to have changed (gotten rid of) '#ifdef RETEX' in
src/qcommon/files.c, was that intentionnal? Maybe we should keep the
'Com_sprintf (pakfile, sizeof(pakfile), "%s/pak1%i.pak", dir, i);'?

Thanks for working on these issues..

Vincent
Brendan Burns
2005-01-28 02:33:57 UTC
Permalink
*sigh* it probably just consists of copying the code across from
gl_glw.c to rw_x11.c I'll do it tomorrow...

If I remember correctly, I got rid of the RETEX and just defaulted to:

for (int i=0;i<50;i++)
'Com_sprintf (pakfile, sizeof(pakfile), "%s/pak%d.pak", dir, i);'
...
That will load all pak files that exist numbered 1->50 It doesn't hurt
to have it in there whether or not RETEX is turned on and I thought it
was cleaner than having that ifdef in there...


--brendan
Post by coyote
Post by brendanburns
Okay,
I've fixed the compile error (actually I fixed it a while ago but it
never made it into the tarball for some reason...). I'm not 100%
positive the alsa sound driver works properly. I'd stick with SDL
for the time being for most people.
There is a bugfix release 0.16.1 posted on the site...
It also contains (I hope [for like the billionth time]) a fix to the
mouse bug that some people have seen. Mouse works fine for me in
both SDL and GLX in both windowed and fullscreen mode. Let me know
if it doesn't for you.
--brendan
Hi Brendan,
Mouse works fine with current CVS (congrats on fixing it) in GLX mode
but it's now broken in ref_softx. I have not done any regression
testing on sparc yet (Will do tomorrow..).
BTW, You appear to have changed (gotten rid of) '#ifdef RETEX' in
src/qcommon/files.c, was that intentionnal? Maybe we should keep the
'Com_sprintf (pakfile, sizeof(pakfile), "%s/pak1%i.pak", dir, i);'?
Thanks for working on these issues..
Vincent
Loading...