Announcement
Collapse
No announcement yet.
Input Plugin Api Information / Discussion
Collapse
This is a sticky topic.
X
X
-
Double whoops, I just had a look at the Wayback Machine. It was "Reading_and_Writing_Extended_Metadata_Information.txt", not "Reading_and_Writing_Extended_Metadata_Information.h", I must've renamed the file so that it would pop up and show formatted in my editor. It was also not in an archive, it was just hosted directly as a txt file on his server.
Leave a comment:
-
-
Originally Posted by thinktink View Post...the copy I got from the SDK download if memory serves. I'll double check that.the archive download, how I don't know since I still have the original SDK download right in my Downloads folder.
Leave a comment:
-
-
ohh. weird. where does it specify that? it should definitely be const char * for winampSetExtendedFileInfo
Leave a comment:
-
-
Originally Posted by Benski View Post...
the unicode variants of the dllexported metadata functions do in fact take the field name as a char * (ascii string)Last edited by thinktink; 19 September 2015, 23:40.
Leave a comment:
-
-
Originally Posted by Benski View Posthi.mp3 (or hi.ext) is used to find the input plugin associated with the 'default extension' in the preferences.
...
Originally Posted by Benski View Post...
the unicode variants of the dllexported metadata functions do in fact take the field name as a char * (ascii string)
Leave a comment:
-
-
hi.mp3 (or hi.ext) is used to find the input plugin associated with the 'default extension' in the preferences.
the unicode variants of the dllexported metadata functions do in fact take the field name as a char * (ascii string)
Leave a comment:
-
-
winampSetExtendedFileInfo(W)
[Quandry]
In the documentation "Reading_and_Writing_Extended_Metadata_Information.h" it defines both of the writing function winampSetExtendedFileInfo(W) as both having wchar_t * values but the value parameters for winampGetExtendedFileInfo(W) as char * and wchar_t * respectively.
The following taken from "Reading_and_Writing_Extended_Metadata_Information.h":
Is it supposed to be like that or is the documentation wrong on the value parameter for winampSetExtendedFileInfo?code:
extern "C" __declspec(dllexport) int winampGetExtendedFileInfo(const char *fn, const char *data, char *dest, size_t destlen)
extern "C" __declspec(dllexport) int winampGetExtendedFileInfoW(const wchar_t *fn, const char *data, wchar_t *dest, size_t destlen)
extern "C" __declspec(dllexport) int winampSetExtendedFileInfo(const char *fn, const char *data, const wchar_t *val)
extern "C" __declspec(dllexport) int winampSetExtendedFileInfoW(const wchar_t *fn, const char *data, const wchar_t *val)
Leave a comment:
-
-
Originally Posted by sheh View PostAre there any docs explaining the more exotic functions, like Vis, DSP, etc.?
The input plugin interface is really a surprise. I expected a simple interface for decoding and metadata, and found out the whole playback plugin chain is controlled by the input plugin. Now I know why various things behave strangely depending on input plugin used.
Leave a comment:
-
-
Are there any docs explaining the more exotic functions, like Vis, DSP, etc.?
The input plugin interface is really a surprise. I expected a simple interface for decoding and metadata, and found out the whole playback plugin chain is controlled by the input plugin. Now I know why various things behave strangely depending on input plugin used.
Leave a comment:
-
-
Would it be possible to document "hi.mp3"? I think I know what it's for but I would like to be sure.
Leave a comment:
-
-
heh, i think that one's caught me out a few times way way back. at least you're sorted now so that's the main thing
-daz
Leave a comment:
-
-
Zomg I'm a f'ing blind boning bone-head. It said it right there in the SDK and I didn't even see it or even to think to check for it while debugging:
#define GETFILEINFO_TITLE_LENGTH 2048void (*GetFileInfo)(const in_char *file, in_char *title, int *length_in_ms); // if file == NULL, current playing is used
I never checked for NULL file parameter. GAH!!!!! I've finally got it working right without the /class hack.
Leave a comment:
-
Leave a comment: