Change foobar's "lossless" to "lossy" as people seem confused by it

This commit is contained in:
bnnm 2018-03-11 21:13:50 +01:00
parent 8328814a2f
commit 85c604a1cd

View File

@ -139,7 +139,9 @@ void input_vgmstream::get_info(t_uint32 p_subsong, file_info & p_info, abort_cal
p_info.info_set_int("samplerate", samplerate);
p_info.info_set_int("channels", channels);
p_info.info_set_int("bitspersample",16);
p_info.info_set("encoding","lossless");
/* not quite accurate but some people are confused by this
* (could set lossless if PCM, but then again PCMFloat or PCM8 are converted/"lossy" in vgmstream) */
p_info.info_set("encoding","lossy");
p_info.info_set_bitrate(bitrate / 1000);
if (total_samples > 0)
p_info.info_set_int("stream_total_samples", total_samples);