1
0
mirror of https://github.com/danog/php-libtgvoip.git synced 2024-11-26 20:04:48 +01:00
This commit is contained in:
Daniil Gentili 2017-06-26 17:35:21 +02:00
parent 63a0b4aaa5
commit a30c8c3ac6
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -35,13 +35,13 @@ If not, see <http://www.gnu.org/licenses/>.
#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;