Skip to content
Forum Archive

Accessing Global Variables in APE s

3 posts

c-here#

Accessing Global Variables in APE s

I remember hearing somewhere (i think) that APE's should be able to modify Register and gmegabuff contents as of Winamp 5? is this true or just wishfull dillusion on my part? If so could somebody give me an example of how to do it?
ASD5A#
You may have been heard of Jheriko's "Global" Variable Manager
Get it here
But i am afraid to tell you that the registers and buffers it accesses are avs-internal.
0verhaul#
Actually, as I recall, the gmegabuf call is public, so anybody can modify the buffer through that call. That's a good idea anyway because gmegabuf allocates space as needed, so to try to modify its values directly you'd have to do that too.

I don't remember where the registers are stored, but they almost have to be public too.

Check the nseel source.