SDK: add audio option for MediaHandler API

- modify AudioFilter for Windows build

Change-Id: Icddd014b0d42cd3848000c7b8b97baa7cab709aa
GitLab: #3
diff --git a/SDK/Templates/genericMediaHandler.cpp b/SDK/Templates/genericMediaHandler.cpp
index a55a964..3254925 100644
--- a/SDK/Templates/genericMediaHandler.cpp
+++ b/SDK/Templates/genericMediaHandler.cpp
@@ -17,27 +17,26 @@
     , ppm_ {ppm}
 {
     setId(datapath_);
-    mVS = std::make_shared<GENERICVideoSubscriber>(datapath_);
+    mediaSubscriber_ = std::make_shared<GENERICDATATYPESubscriber>(datapath_);
 }
 
 void
 GENERICMediaHandler::notifyAVFrameSubject(const StreamData& data, jami::avSubjectPtr subject)
 {
-    Plog::log(Plog::LogPriority::INFO, TAG, "IN AVFRAMESUBJECT");
     std::ostringstream oss;
     std::string direction = data.direction ? "Receive" : "Preview";
     oss << "NEW SUBJECT: [" << data.id << "," << direction << "]" << std::endl;
 
     bool preferredStreamDirection = false; // false for output; true for input
     oss << "preferredStreamDirection " << preferredStreamDirection << std::endl;
-    if (data.type == StreamType::video && !data.direction
+    if (data.type == StreamType::DataType && !data.direction
         && data.direction == preferredStreamDirection) {
-        subject->attach(mVS.get()); // your image
+        subject->attach(mediaSubscriber_.get()); // your image
         oss << "got my sent image attached" << std::endl;
         attached_ = "1";
-    } else if (data.type == StreamType::video && data.direction
+    } else if (data.type == StreamType::DataType && data.direction
                && data.direction == preferredStreamDirection) {
-        subject->attach(mVS.get()); // the image you receive from others on the call
+        subject->attach(mediaSubscriber_.get()); // the image you receive from others on the call
         oss << "got received image attached" << std::endl;
         attached_ = "1";
     }
@@ -79,7 +78,7 @@
 GENERICMediaHandler::detach()
 {
     attached_ = "0";
-    mVS->detach();
+    mediaSubscriber_->detach();
 }
 
 GENERICMediaHandler::~GENERICMediaHandler()