Subsonic API: added support for the format parameter in the stream request (only format=raw is handled, otherwise, it is ignored).

Added Matroksa/Opus output to ease compatibility with old devices. Fixes #8
This commit is contained in:
emeric
2019-11-10 14:54:03 +01:00
parent f3c02a84ba
commit e9673e44e3
10 changed files with 96 additions and 49 deletions
+1
View File
@@ -44,6 +44,7 @@ enum class AudioFormat
OGG_OPUS = 2,
OGG_VORBIS = 3,
WEBM_VORBIS = 4,
MATROSKA_OPUS = 5,
};
using Bitrate = std::size_t;