mirror of
https://github.com/alexkay/spek.git
synced 2025-04-20 10:27:38 +03:00
Round the bitrate
This commit is contained in:
parent
20ea067403
commit
b75776bc7c
@ -66,7 +66,7 @@ namespace Spek {
|
||||
items += cx.codec_name;
|
||||
}
|
||||
if (cx.bit_rate != 0) {
|
||||
items += _("%d kbps").printf (cx.bit_rate / 1000);
|
||||
items += _("%d kbps").printf ((cx.bit_rate + 500) / 1000);
|
||||
}
|
||||
if (cx.sample_rate != 0) {
|
||||
items += _("%d Hz").printf (cx.sample_rate);
|
||||
|
Loading…
x
Reference in New Issue
Block a user