Made transcoding optional

This commit is contained in:
emeric
2019-05-20 12:55:17 +02:00
parent 49dc6c84f1
commit 234d9f80ef
22 changed files with 412 additions and 286 deletions
+5 -4
View File
@@ -20,6 +20,7 @@
#pragma once
#include <string>
#include <boost/filesystem.hpp>
#include "utils/Exception.hpp"
@@ -34,10 +35,10 @@ class AvException : public LmsException
enum class Encoding
{
// Values are important and must not be changed
MP3 = 0,
OGG_OPUS = 1,
OGG_VORBIS = 2,
WEBM_VORBIS = 3,
MP3 = 0,
OGG_OPUS = 1,
OGG_VORBIS = 2,
WEBM_VORBIS = 3,
};
std::string encodingToMimetype(Encoding encoding);