summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/tts.py2
1 files changed, 1 insertions, 1 deletions
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)