mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
really fixed bitrate display
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@751 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
69116bbc1b
commit
6c4e00ccd0
@ -105,7 +105,7 @@ void input_vgmstream::get_info(file_info & p_info,abort_callback & p_abort ) {
|
|||||||
p_info.info_set_int("channels", channels);
|
p_info.info_set_int("channels", channels);
|
||||||
p_info.info_set_int("bitspersample",16);
|
p_info.info_set_int("bitspersample",16);
|
||||||
p_info.info_set("encoding","lossless");
|
p_info.info_set("encoding","lossless");
|
||||||
p_info.info_set_bitrate((samplerate * 16 * channels) >> 10);
|
p_info.info_set_bitrate((samplerate * 16 * channels) / 1000);
|
||||||
|
|
||||||
p_info.set_length(((double)length_in_ms)/1000);
|
p_info.set_length(((double)length_in_ms)/1000);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user