From 434e94f0f3bfc0e57b4e2120f6fb5522dd0ed229 Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 26 Sep 2014 19:10:46 +0200 Subject: Readd hardcoded alsa playback device (should be removed later) --- client/tts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/tts.py b/client/tts.py index df4d425..8fef776 100644 --- a/client/tts.py +++ b/client/tts.py @@ -49,7 +49,7 @@ class AbstractTTSEngine(object): def play(self, filename): # FIXME: Use platform-independent audio-output here # See issue jasperproject/jasper-client#188 - cmd = ['aplay', str(filename)] + cmd = ['aplay', '-D', 'hw:1,0', str(filename)] self._logger.debug('Executing %s', ' '.join([pipes.quote(arg) for arg in cmd])) with tempfile.TemporaryFile() as f: subprocess.call(cmd, stdout=f, stderr=f) -- cgit v1.3.1