From a30c8c3ac6ce214786d177dacbbd7411d9740806 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 26 Jun 2017 17:35:21 +0200 Subject: [PATCH] Fixes --- audio/AudioOutputPHP.cpp | 2 ++ main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/audio/AudioOutputPHP.cpp b/audio/AudioOutputPHP.cpp index 0bc4e47..4deb829 100644 --- a/audio/AudioOutputPHP.cpp +++ b/audio/AudioOutputPHP.cpp @@ -18,6 +18,8 @@ AudioOutputPHP::AudioOutputPHP(Php::Value callbacks){ configureMethod = callbacks["configure"]; getLevelMethod = callbacks["get_level"]; } +AudioOutputPHP::~AudioOutputPHP(){ +} void AudioOutputPHP::Configure(uint32_t sampleRate, uint32_t bitsPerSample, uint32_t channels){ configureMethod((int32_t)sampleRate, (int32_t)bitsPerSample, (int32_t)channels); diff --git a/main.cpp b/main.cpp index 7d0f0e5..b273a13 100644 --- a/main.cpp +++ b/main.cpp @@ -35,13 +35,13 @@ If not, see . #include "libtgvoip/NetworkSocket.cpp" #include "libtgvoip/os/posix/NetworkSocketPosix.cpp" -#include "audio/AudioInputPHP.h" -#include "audio/AudioOutputPHP.h" #include "libtgvoip/audio/AudioInput.cpp" #include "libtgvoip/audio/AudioOutput.cpp" +#include "audio/AudioInputPHP.cpp" +#include "audio/AudioOutputPHP.cpp" using namespace tgvoip; using namespace tgvoip::audio;