From 6feb4b4c97f16c205449277943d60ff4542c9e44 Mon Sep 17 00:00:00 2001 From: Andrew Polden Date: Sun, 10 Oct 2021 13:41:47 +1100 Subject: [PATCH] Support for FLAC sample size --- tagutils/tagutils-flc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tagutils/tagutils-flc.c b/tagutils/tagutils-flc.c index 926673b..e3deae4 100644 --- a/tagutils/tagutils-flc.c +++ b/tagutils/tagutils-flc.c @@ -65,6 +65,7 @@ _get_flctags(char *filename, struct song_metadata *psong) psong->song_length = (sec * 1000) + ms; psong->bitrate = (((uint64_t)(psong->file_size) * 1000) / (psong->song_length / 8)); psong->samplerate = block->data.stream_info.sample_rate; + psong->samplesize = block->data.stream_info.bits_per_sample; psong->channels = block->data.stream_info.channels; break;