Positional Audio plugins for linux

Mumble about Mumble
Post Reply
Posts: 243
Joined: 09 Mar 2010, 08:54
Location: Borne, the Netherlands

Positional Audio plugins for linux

Post by rawnar »

As a Linux lover, I would like to try to make a Positional Audio plugin for the linux version of ETQW. With the new API for WIN32 a likewise API for UNIX can be setup. With the introduction of the new API for WIN32 the plugin code has no platform related functions anymore. These functions are now all defined in the mumble_plugin_win32.h header file. So for the plugin coders the format can stay the same. You only would need to include mumble_plugin_unix.h instead of mumble_plugin_win32.h for the Linux version of the plugin. Also the memory location needs to be changed probably. To find the memory location my first guess will be using gameconqueror.

I would need some help in setting up the plugin API for UNIX. Most of the functions in the API need to be translated to UNIX. For the following functions I have some ideas.
peekProc() can be translated with the use of the ptrace library.
getProcess() take a look at the pidof and killall source to find the appropriate functions.
getModuleAddr() take a look at the scanmem code and hopefully it can give the information I need.
u8() seems to be a conversion wide character no idea about the functions needed.
initialize() ptrace has some functions to attach to a process(but maybe not needed)
generic_unlock() again ptrace can also detach from a process(but maybe not needed)

Is this a feasible idea? :D
And is someone willing to help me with the coding? ;)
Computer specs: AMD FX-8320, 8GB DDR3-SDRAM, AMD Radeon HD 7950, Asus Xonar D1, Windows 7 Ultimate 64bit/Debian Jessie AMD64.

Post Reply