From 39f7545cd5ef7a30bbd482f3579df7744c6b688d Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 7 Jul 2023 15:29:47 +1000 Subject: wire up the playing screen with some real data Includes implementing song duration calculation for CBR MP3 files --- src/codecs/foxenflac.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/codecs/foxenflac.cpp') diff --git a/src/codecs/foxenflac.cpp b/src/codecs/foxenflac.cpp index a2d6f000..ee21da65 100644 --- a/src/codecs/foxenflac.cpp +++ b/src/codecs/foxenflac.cpp @@ -43,6 +43,7 @@ auto FoxenFlacDecoder::BeginStream(const cpp::span input) .num_channels = static_cast(channels), .bits_per_sample = 32, // libfoxenflac output is fixed-size. .sample_rate_hz = static_cast(fs), + .duration_seconds = {}, }}; } -- cgit v1.2.3