Adding handling of bad GSM audio frames
[lcr.git] / gsm_ms.cpp
index cfb1bf6..bb2ad67 100644 (file)
@@ -345,7 +345,8 @@ int message_ms(struct lcr_gsm *gsm_ms, int msg_type, void *arg)
                port = port->next;
        }
 
-       if (msg_type == GSM_TCHF_FRAME) {
+       if (msg_type == GSM_TCHF_FRAME
+        || msg_type == GSM_TCHF_BAD_FRAME) {
                if (port)
                        pgsm_ms->frame_receive(arg);
                return 0;