mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-07 03:37:42 +02:00
start stream
git-svn-id: svn://elaine/murooma/trunk@282 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
ebfcbf5c26
commit
001bfa6aba
8 changed files with 75 additions and 6 deletions
|
@ -10,6 +10,7 @@
|
|||
#include "common/serverSettings.h"
|
||||
#include "common/timeMsg.h"
|
||||
#include "common/requestMsg.h"
|
||||
#include "common/ackMsg.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -109,6 +110,10 @@ void Controller::worker()
|
|||
Player player(stream);
|
||||
player.start();
|
||||
|
||||
RequestMsg startStream("startStream");
|
||||
shared_ptr<AckMsg> ackMsg(NULL);
|
||||
while (!(ackMsg = clientConnection->sendReq<AckMsg>(&startStream, 1000)));
|
||||
|
||||
try
|
||||
{
|
||||
while (active_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue