Loopback audio initialize ?

This commit is contained in:
Pecusx
2017-05-06 00:17:04 +02:00
committed by GitHub
parent 8563839d30
commit aad66ac5b8
+1
View File
@@ -82,6 +82,7 @@ class MyDaemon(Daemon):
def run(self): def run(self):
#global CurrentFile #global CurrentFile
radio.execCommand("modprobe snd-aloop")
GPIO.setmode(GPIO.BCM) # Use BCM GPIO numbers GPIO.setmode(GPIO.BCM) # Use BCM GPIO numbers
GPIO.setwarnings(False) # Ignore warnings GPIO.setwarnings(False) # Ignore warnings