using smart-holder version of pybind11;
using smart pointers in main parts of binding;
fix calling of method for audio device model (now in the right thread);
move working with audio device module from binding to tgcalls because it should works from right threads (in prev version we cant destruct audio device module because it was create in thread of tgcalls);
add new native method to implement right flow with stopping and destroying instances (stopAudioDeviceModule, startAudioDeviceModule);
fix audio device wrapper for macOS;
fix malloc for raw group call;
rework waiting from sleeps to asyncio events.
using smart-holder version of pybind11; using smart pointers in main parts of binding; fix calling of method for audio device model (now in the right thread); move working with audio device module from binding to tgcalls because it should works from right threads (in prev version we cant destruct audio device module because it was create in thread of tgcalls); add new native method to implement right flow with stopping and destroying instances (stopAudioDeviceModule, startAudioDeviceModule); fix audio device wrapper for macOS; fix malloc for raw group call; rework waiting from sleeps to asyncio events.