Extended Module Player Library (libXMP) plugin for XMPlay

Started by bauxite69,

bauxite69


v0.7, 2014-11-24
 · Added support for subsongs


@Ian: xmp-libxmp works fine with subsongs so far, but i need your help. I can't figure out how to build subsongs tags. Do i need to create a new array ? I've tried a few ideas, but this leads to a crash. Meanwhile, GetFileInfo will receive XMPIN_INFO_NOSUBTAGS.


 

Ian @ un4seen

The tags should be delivered as a series of null-terminated strings containing tag names and values, ending with a double-null. The GetTags function should only give the tags of the current subsong. GetFileInfo gives the tags for all subsongs, and when when not using the XMPIN_INFO_NOSUBTAGS option, each subsong's tag block should follow the other. For example, the tags for 2 subsongs could look like this: "FileType\0type\0Title\0title1\0\0FileType\0type\0Title\0title2\0\0" (where "\0" = null). The memory for the tag block should be allocated with the XMPFUNC_MISC Alloc/ReAlloc functions.

bauxite69

Quote from: Ian @ un4seenThe tags should be delivered as a series of null-terminated strings containing tag names and values, ending with a double-null. The GetTags function should only give the tags of the current subsong. GetFileInfo gives the tags for all subsongs, and when when not using the XMPIN_INFO_NOSUBTAGS option, each subsong's tag block should follow the other. For example, the tags for 2 subsongs could look like this: "FileType\0type\0Title\0title1\0\0FileType\0type\0Title\0title2\0\0" (where "\0" = null). The memory for the tag block should be allocated with the XMPFUNC_MISC Alloc/ReAlloc functions.

Thanks !

Now we have xmp-libxmp fully supporting subsongs. :)

bauxite69

Quote from: sagaThanks a lot!
Are you going to release the source of your plugin sometime?

In the next release, i'll include the sources.

bauxite69

Quote from: deus-exThanks, the updated plugin is online now.

Say, you wouldn't happen to have an update of xmp.exe as well? You used to provide it together with the Winamp plugin, and I used to make it available as an alternative download. Latest version online is v4.0.8. ::)

in.xmp.dll 4.0.0
libxmp.dll 4.3.2
xmp.exe 4.0.10

From now on, in_xmp.dll will display the version of libxmp.dll loaded.

deus-ex

Dhry

See first post in this thread for the permanent link to a folder containing the binaries.

saga

That's no surprise, given that the incomplete DMF loader was removed well over a year ago. You can try xmp-openmpt though, which has pretty good DMF support.

Stefan1200

Thank you very much for keep updating this library, everything is working fine. :)

bauxite69

v0.9.17, 2015-09-12
 · fixed: xmp-libXMP could not open/play files from archive

deus-ex