3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-30 19:03:37 +02:00

initial connection of Android client to audio mixer

This commit is contained in:
Stephen Birarda 2015-01-20 16:02:36 -08:00
parent e4a9e429e0
commit 25805cbe78
3 changed files with 8 additions and 4 deletions

View file

@ -28,6 +28,7 @@ Client::Client(QObject* parent) :
void Client::setupNetworking() {
// setup the NodeList for this client
DependencyManager::registerInheritance<LimitedNodeList, NodeList>();
auto nodeList = DependencyManager::set<NodeList>(NodeType::Agent, 0);
// while datagram processing remains simple for targets using Client, we'll handle datagrams

View file

@ -20,10 +20,10 @@ class Client : public QObject {
Q_OBJECT
public:
Client(QObject* parent = 0);
private slots:
void processDatagrams();
private:
void setupNetworking();
private slots:
void processDatagrams();
};
#endif // hifi_Client_h

View file

@ -11,10 +11,13 @@
#include <QtWidgets/QInputDialog>
#include <NodeList.h>
#include "RenderingClient.h"
RenderingClient::RenderingClient(QObject *parent) :
Client(parent)
{
}
// tell the NodeList which node types all rendering clients will want to know about
DependencyManager::get<NodeList>()->addSetOfNodeTypesToNodeInterestSet(NodeSet() << NodeType::AudioMixer);
}