summaryrefslogtreecommitdiff
path: root/src/tangara/audio/audio_decoder.cpp
diff options
context:
space:
mode:
authorTom Kirchner <git@halffull.org>2025-01-06 20:53:02 -0800
committerTom Kirchner <git@halffull.org>2025-01-08 20:46:34 -0800
commitfaa62e0c60d51a9df88002a59825b427323259c0 (patch)
treecd0631b047e8b09fbd61ea85ad1a67aa55929a25 /src/tangara/audio/audio_decoder.cpp
parent829d033a448107f1bc610cf735ce9f7222de564b (diff)
downloadtangara-fw-faa62e0c60d51a9df88002a59825b427323259c0.tar.gz
Add bitrate info
Diffstat (limited to 'src/tangara/audio/audio_decoder.cpp')
-rw-r--r--src/tangara/audio/audio_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tangara/audio/audio_decoder.cpp b/src/tangara/audio/audio_decoder.cpp
index 8c0b264f..fca7e6da 100644
--- a/src/tangara/audio/audio_decoder.cpp
+++ b/src/tangara/audio/audio_decoder.cpp
@@ -160,7 +160,7 @@ auto Decoder::prepareDecode(std::shared_ptr<TaggedStream> stream) -> void {
.uri = stream->Filepath(),
.duration = {},
.start_offset = stream->Offset(),
- .bitrate_kbps = {},
+ .bitrate_kbps = open_res->bitrate_kbps,
.encoding = stream->type(),
.format =
{