[B]Hello folks, i’m new to ET source, and i’d like to add alsa or OpenAL support, well i know i must change cgame/cg_sound.c, but i don’t know where should i change for start, could someone give me some advices?
Regards,
LottaLava[/B]
[B]Hello folks, i’m new to ET source, and i’d like to add alsa or OpenAL support, well i know i must change cgame/cg_sound.c, but i don’t know where should i change for start, could someone give me some advices?
Regards,
LottaLava[/B]
Advice: Don’t use fontsize 5,6 or 7 and colors. A plain informative text is easy to read and understand.
Hmm, not that sure. But isn’t that also managed in the (not moddable) game engine?
Indeed not, enemy territory uses /dev/dsp to stream sounds, it must be update to the same mechanism as ioquake and warsow employ.
In this case they use openAL, maybe the best thing to do is to study ioquake sources, but ioquake engine is open, completely opposite from enemy territory.
[QUOTE=ailmanki;202102]http://nullkey.ath.cx/~stuff/et-sdl-sound/
alsa has already been add[/QUOTE]
Dude, its not a correct way to add alsa or OpenAL support to ET, its more a shortcut or lazy solution!
What i want to do is to change the way ET use OS’s sound device, in my case /dev/dsp*, 'cause its based in oss sound system.
[quote=lottalava;202148]Dude, its not a correct way to add alsa or OpenAL support to ET, its more a shortcut or lazy solution!
What i want to do is to change the way ET use OS’s sound device, in my case /dev/dsp*, 'cause its based in oss sound system.[/quote]
it is no “lazy” solution.
and it does change the way et uses the OS’s sound device.
it preloads a libary to et that replaces all the oss calls with alsa calls!