summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-09-26 19:10:46 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-09-26 19:10:46 +0200
commit434e94f0f3bfc0e57b4e2120f6fb5522dd0ed229 (patch)
treec9005cc1a0be049cea0ce20cc54b42218c636788 /client
parentc60e9a106f347af2327b4712fcf08689faeac53d (diff)
downloadjasper-client-434e94f0f3bfc0e57b4e2120f6fb5522dd0ed229.tar.gz
jasper-client-434e94f0f3bfc0e57b4e2120f6fb5522dd0ed229.zip
Readd hardcoded alsa playback device (should be removed later)
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)