mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-02 11:46:34 +02:00
x
git-svn-id: svn://elaine/murooma/trunk@221 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
dc583513aa
commit
c6dbf53a16
1 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ int main(int argc, char* argv[])
|
|||
mkfifo(fifoName.c_str(), 0777);
|
||||
size_t duration = 50;
|
||||
|
||||
OggEncoder pcmEncoder;
|
||||
PcmEncoder encoder;
|
||||
SampleFormat format(sampleFormat);
|
||||
while (!g_terminated)
|
||||
{
|
||||
|
@ -293,7 +293,7 @@ size_t duration = 50;
|
|||
|
||||
wireChunk->tv_sec = tvChunk.tv_sec;
|
||||
wireChunk->tv_usec = tvChunk.tv_usec;
|
||||
if (pcmEncoder.encode(chunk.get()))
|
||||
if (encoder.encode(chunk.get()))
|
||||
server->send(chunk);
|
||||
|
||||
addMs(tvChunk, duration);
|
||||
|
|
Loading…
Add table
Reference in a new issue