Skip to content

Instantly share code, notes, and snippets.

@tkell
Created February 8, 2013 14:22
Show Gist options
  • Save tkell/4739299 to your computer and use it in GitHub Desktop.
Save tkell/4739299 to your computer and use it in GitHub Desktop.
Tweaks for LocalAudioStream
def run(self):
try:
self.infile.seek(0)
self.p.stdin.write(self.infile.read())
except IOError:
pass
self.p.stdin.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment