mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-12 07:41:47 +02:00
WIP opus is working, some values are hard coded
This commit is contained in:
parent
8d47371115
commit
258bab4f65
6 changed files with 95 additions and 84 deletions
server/encoder
|
@ -54,6 +54,10 @@ Encoder* EncoderFactory::createEncoder(const std::string& codecSettings) const
|
|||
#if defined(HAS_FLAC)
|
||||
else if (codec == "flac")
|
||||
encoder = new FlacEncoder(codecOptions);
|
||||
#endif
|
||||
#if defined(HAS_OPUS)
|
||||
else if (codec == "opus")
|
||||
encoder = new OpusEncoder(codecOptions);
|
||||
#endif
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue