summaryrefslogtreecommitdiff
path: root/src/database/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/include')
-rw-r--r--src/database/include/song.hpp7
1 files changed, 7 insertions, 0 deletions
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<std::string> artist;
std::optional<std::string> album;
+ std::optional<int> channels;
+ std::optional<int> sample_rate;
+ std::optional<int> 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