[PATCH 3/4] Hand applied change from Neil Brown

Neil Jerram neil at ossau.homelinux.net
Tue Jan 22 20:10:51 CET 2013


---
 gsm-voice-routing.c |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gsm-voice-routing.c b/gsm-voice-routing.c
index 904d4c5..1143791 100644
--- a/gsm-voice-routing.c
+++ b/gsm-voice-routing.c
@@ -612,6 +612,13 @@ int main()
     open_route_stream_repeated(&p_ear);
     open_route_stream_repeated(&r_mic);
 
+#ifndef NOT_NEIL_BROWN
+    while (route_stream_read(&r_mod))
+           ;
+    snd_pcm_start(r_mic.handle);
+    snd_pcm_start(r_mod.handle);
+#endif
+
     /* Route sound */
     while (!terminating) {
 
-- 
1.7.10.4


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment; filename=0004-Improve-logging.patch



More information about the community mailing list