mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 23:56:43 +02:00
clean
git-svn-id: svn://elaine/murooma/trunk@318 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
83eed0be78
commit
bccffc7432
4 changed files with 37 additions and 11 deletions
|
@ -8,7 +8,7 @@
|
|||
#include "message/message.h"
|
||||
#include "pcmEncoder.h"
|
||||
#include "oggEncoder.h"
|
||||
#include "controlServer.h"
|
||||
c#include "controlServer.h"
|
||||
|
||||
|
||||
bool g_terminated = false;
|
||||
|
@ -18,6 +18,7 @@ namespace po = boost::program_options;
|
|||
using namespace std;
|
||||
|
||||
|
||||
std::condition_variable terminateSignaled;
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
|
@ -76,6 +77,11 @@ int main(int argc, char* argv[])
|
|||
encoder.reset(new OggEncoder(sampleFormat));
|
||||
else if (codec == "pcm")
|
||||
encoder.reset(new PcmEncoder(sampleFormat));
|
||||
else if (codec == "flac")
|
||||
{
|
||||
cout << "Not yet supported\n";
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
cout << "unknown codec: " << codec << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue