Fix: Allow recording of audio for SIP/remote/GSM interfaces too
[lcr.git] / port.cpp
index f1f92d1..4ffa822 100644 (file)
--- a/port.cpp
+++ b/port.cpp
@@ -179,6 +179,7 @@ Port::Port(int type, const char *portname, struct port_settings *settings, struc
 
        /* call recording */
        p_record = NULL;
+       p_tap = 0;
        p_record_type = 0;
        p_record_length = 0;
        p_record_skip = 0;
@@ -1164,6 +1165,10 @@ different_again:
 
 }
 
+void Port::tap(unsigned char *data, int length, int dir_fromup)
+{
+}
+
 void Port::update_rxoff(void)
 {
 }