mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-13 14:47:44 +02:00
aaa
git-svn-id: svn://elaine/murooma/trunk@289 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
831f07a657
commit
31ce469c35
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
VERSION = 0.01
|
VERSION = 0.01
|
||||||
CC = /usr/bin/g++
|
CC = /usr/bin/g++
|
||||||
CFLAGS = -std=gnu++0x -Wall -Wno-unused-function -g -D_REENTRANT -DVERSION=\"$(VERSION)\" -I..
|
CFLAGS = -std=gnu++0x -Wall -Wno-unused-function -O3 -D_REENTRANT -DVERSION=\"$(VERSION)\" -I..
|
||||||
LDFLAGS = -lrt -lpthread -lboost_system -lboost_program_options -lasound -logg -lvorbis -lvorbisenc
|
LDFLAGS = -lrt -lpthread -lboost_system -lboost_program_options -lasound -logg -lvorbis -lvorbisenc
|
||||||
|
|
||||||
OBJ = snapClient.o stream.o player.o clientConnection.o timeProvider.o oggDecoder.o pcmDecoder.o controller.o ../message/pcmChunk.o ../common/log.o ../message/sampleFormat.o
|
OBJ = snapClient.o stream.o player.o clientConnection.o timeProvider.o oggDecoder.o pcmDecoder.o controller.o ../message/pcmChunk.o ../common/log.o ../message/sampleFormat.o
|
||||||
|
|
|
@ -94,7 +94,7 @@ void Controller::worker()
|
||||||
decoder->setHeader(headerChunk.get());
|
decoder->setHeader(headerChunk.get());
|
||||||
|
|
||||||
RequestMsg timeReq("time");
|
RequestMsg timeReq("time");
|
||||||
for (size_t n=0; n<10; ++n)
|
for (size_t n=0; n<30; ++n)
|
||||||
{
|
{
|
||||||
shared_ptr<TimeMsg> reply = clientConnection->sendReq<TimeMsg>(&timeReq, 2000);
|
shared_ptr<TimeMsg> reply = clientConnection->sendReq<TimeMsg>(&timeReq, 2000);
|
||||||
if (reply)
|
if (reply)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue