From faa62e0c60d51a9df88002a59825b427323259c0 Mon Sep 17 00:00:00 2001 From: Tom Kirchner Date: Mon, 6 Jan 2025 20:53:02 -0800 Subject: Add bitrate info --- src/tangara/audio/audio_decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tangara/audio/audio_decoder.cpp') 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 stream) -> void { .uri = stream->Filepath(), .duration = {}, .start_offset = stream->Offset(), - .bitrate_kbps = {}, + .bitrate_kbps = open_res->bitrate_kbps, .encoding = stream->type(), .format = { -- cgit v1.2.3