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:
bnnm 2018-06-30 17:59:02 +02:00
parent 78542225f5
commit fa26e72af1

View File

@ -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);