Skip to content

Commit

Permalink
round track bitrate to int
Browse files Browse the repository at this point in the history
  • Loading branch information
zefir-git committed Jul 20, 2024
1 parent 718ac54 commit d796ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default class Library {
{
channels: meta.format.numberOfChannels ?? 0,
sampleRate: meta.format.sampleRate ?? 0,
bitrate: meta.format.bitrate ?? 0,
bitrate: Math.round(meta.format.bitrate ?? 0),
lossless: meta.format.lossless ?? false
}
);
Expand Down

0 comments on commit d796ec7

Please sign in to comment.