diff options
| author | Tom Kirchner <git@halffull.org> | 2025-01-06 20:53:02 -0800 |
|---|---|---|
| committer | Tom Kirchner <git@halffull.org> | 2025-01-08 20:46:34 -0800 |
| commit | faa62e0c60d51a9df88002a59825b427323259c0 (patch) | |
| tree | cd0631b047e8b09fbd61ea85ad1a67aa55929a25 /src/tangara/audio/audio_decoder.cpp | |
| parent | 829d033a448107f1bc610cf735ce9f7222de564b (diff) | |
| download | tangara-fw-faa62e0c60d51a9df88002a59825b427323259c0.tar.gz | |
Add bitrate info
Diffstat (limited to 'src/tangara/audio/audio_decoder.cpp')
| -rw-r--r-- | src/tangara/audio/audio_decoder.cpp | 2 |
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 = { |
