Added logic for mastervolume. And a coresponding event.

(sources need to be updated for it to be fully working)
This commit is contained in:
Stiffly
2015-09-24 22:55:24 +02:00
parent 1f73201943
commit e867722d9a
4 changed files with 71 additions and 19 deletions
+27
View File
@@ -0,0 +1,27 @@
//
// Created by Adam on 2015-09-24.
//
#ifndef EVENTS_EMASTERVOLUME_H__
#define EVENTS_EMASTERVOLUME_H__
#include "Core/EventBroker.h"
namespace dd
{
namespace Events
{
struct MasterVolume : public Event
{
float gain = 1;
//To determine what channel group to apply the change to.
bool isAmbient = false;
};
}
}
#endif