mirror of
https://github.com/danog/php-libtgvoip.git
synced 2024-11-26 20:04:48 +01:00
Fixes
This commit is contained in:
parent
63a0b4aaa5
commit
a30c8c3ac6
@ -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);
|
||||
|
4
main.cpp
4
main.cpp
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user