Audacious plugin building broken with Audacious 2.2 by Blue Ion at 5:34 PM EST on December 1, 2009
Well, I'm using OpenSuse 11.2 and trying to build the plugin fails with a couple errors, though I've managed to get it to compile by viciously hacking the vgmstrean sources.
The first ones, a missing "audacious/string.h" in main.c and vfs.c are no longer needed (apparently) since removing it seemed harmless.
The second is this error:
data.c:194: warning: initialization from incompatible pointer type data.c:200: error: unknown field ‘get_song_info’ specified in initializer data.c:200: warning: initialization from incompatible pointer type data.c:203: warning: initialization from incompatible pointer type
It seems later audacious have changed the api of the song data using get_song_tuple instead of get_song_info. I'm not sure anyway, to get around this error (and prevent audacious from segfaulting)I've just return a clean "tuple" from get_song_info.
Obviously I get no actual titles, and I've lost the ability to seek (probably related to ** (audacious2:20364): WARNING **: Plugin /usr/lib/audacious/Input/libvgmstream.so (#0) failed to use InputPlayback::set_tuple for a length/title adjustment. in the console)
But songs plays which is what matters :D
To avoid embarrasing myself (even more at least), I've checked out the latest svn revision 717 in case it was already fixed, but it's not.