4
Fork 0

Updated API

This commit is contained in:
Artem Prilutskiy 2016-04-08 15:58:05 +03:00
parent 83efcf40d7
commit a50c976356
5 changed files with 15 additions and 15 deletions

View file

@ -32,7 +32,7 @@ BrandMeisterBridge::~BrandMeisterBridge()
void BrandMeisterBridge::setProxyConfiguration(const char* configuration)
{
char* pointer = const_cast<char*>(configuration);
// <Network ID>:<PatchCord ID>
uint32_t network = strtol(pointer + 0, &pointer, 10);
uint32_t link = strtol(pointer + 1, &pointer, 10);
proxy = new PatchCordProxy(network, link);