From e12ac1d9632856237388614bf393c7338500e00a Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 7 Jun 2023 15:39:28 +1000 Subject: Do some prep cleanup for multiple filetypes --- src/database/include/song.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/database/include') diff --git a/src/database/include/song.hpp b/src/database/include/song.hpp index 2791c0ca..d03660dc 100644 --- a/src/database/include/song.hpp +++ b/src/database/include/song.hpp @@ -36,6 +36,9 @@ typedef uint32_t SongId; enum class Encoding { kUnsupported = 0, kMp3 = 1, + kWav = 2, + kOgg = 3, + kFlac = 4, }; /* @@ -53,6 +56,10 @@ struct SongTags { std::optional artist; std::optional album; + std::optional channels; + std::optional sample_rate; + std::optional bits_per_sample; + /* * Returns a hash of the 'identifying' tags of this song. That is, a hash that * can be used to determine if one song is likely the same as another, across -- cgit v1.2.3