mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
Add vgmstream version in foobar's file properties
Can be used to check if vgmstream is *really* playing a file
This commit is contained in:
parent
78542225f5
commit
fa26e72af1
@ -21,6 +21,7 @@ extern "C" {
|
||||
#ifndef VERSION
|
||||
#include "../version.h"
|
||||
#endif
|
||||
|
||||
#ifndef VERSION
|
||||
#define PLUGIN_VERSION __DATE__
|
||||
#else
|
||||
@ -145,6 +146,8 @@ void input_vgmstream::get_info(t_uint32 p_subsong, file_info & p_info, abort_cal
|
||||
p_info.meta_set("TITLE",temp);
|
||||
}
|
||||
|
||||
p_info.info_set("vgmstream version",PLUGIN_VERSION);
|
||||
|
||||
p_info.info_set_int("samplerate", samplerate);
|
||||
p_info.info_set_int("channels", channels);
|
||||
p_info.info_set_int("bitspersample",16);
|
||||
|
Loading…
x
Reference in New Issue
Block a user