mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
Set foobar's 'encoding' info to 'lossy/lossless' for fun
vgmstream files are both in a way, plus we really could decode flac/wav/etc too
This commit is contained in:
parent
b63fbcf04f
commit
8438a83cec
@ -185,9 +185,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);
|
||||
/* not quite accurate but some people are confused by this
|
||||
/* not quite accurate but some people are confused by "lossless"
|
||||
* (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("encoding","lossy/lossless");
|
||||
p_info.info_set_bitrate(bitrate / 1000);
|
||||
if (total_samples > 0)
|
||||
p_info.info_set_int("stream_total_samples", total_samples);
|
||||
|
Loading…
x
Reference in New Issue
Block a user