commit ceba2e31663f7eb0b1a52bfa81e713d2dfbceafb
parent 5797d6ec7e7fd68bc50c08c36e3f5b5bba80529e
Author: parazyd <parazyd@dyne.org>
Date: Fri, 17 Nov 2017 23:45:41 +0100
reverse muting logic in http_api
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/http-api/http_listener.py b/http-api/http_listener.py
@@ -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'
@@ -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'