Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self):
self.rate = 44100
fd = esd.esd_monitor_stream(esd.ESD_MONO,self.rate,'localhost','')
self.socket = socket.fromfd(fd, socket.AF_INET, socket.SOCK_STREAM)
self.socket.setblocking(0)