URI: 
       treverse muting logic in http_api - dmt - source code for the kunsthal art installation
  HTML git clone git://parazyd.org/dmt.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit ceba2e31663f7eb0b1a52bfa81e713d2dfbceafb
   DIR parent 5797d6ec7e7fd68bc50c08c36e3f5b5bba80529e
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Fri, 17 Nov 2017 23:45:41 +0100
       
       reverse muting logic in http_api
       
       Diffstat:
         M http-api/http_listener.py           |       8 ++++----
       
       1 file changed, 4 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/http-api/http_listener.py b/http-api/http_listener.py
       t@@ -27,8 +27,8 @@ def callanswered():
            """
            print('Call answered')
        
       -    Popen(['amixer', '-c', cardno, 'cset', mic_play, '0'])
       -    Popen(['amixer', '-c', cardno, 'cset', mic_cap, '100'])
       +    Popen(['amixer', '-c', cardno, 'cset', mic_play, '100'])
       +    Popen(['amixer', '-c', cardno, 'cset', mic_cap, '0'])
        
            return 'Call answered\n'
        
       t@@ -40,8 +40,8 @@ def callended():
            """
            print('Call ended')
        
       -    Popen(['amixer', '-c', cardno, 'cset', mic_play, '100'])
       -    Popen(['amixer', '-c', cardno, 'cset', mic_cap, '0'])
       +    Popen(['amixer', '-c', cardno, 'cset', mic_play, '0'])
       +    Popen(['amixer', '-c', cardno, 'cset', mic_cap, '100'])
        
            return 'Call ended\n'