public IAXClient(IAXAudioType AudioType, int NumCalls) { IAXUnmanaged.iaxc_initialize((int)AudioType, NumCalls); CallbackDelegate = new IAXUnmanaged.iaxc_event_callback_t(IAXCallback); IAXUnmanaged.iaxc_set_event_callback(CallbackDelegate); IAXUnmanaged.iaxc_start_processing_thread(); }
public IAXClient(IAXAudioType AudioType) : this(AudioType, 1) { }