launch aplay -q instead of aplay

This commit is contained in:
Yann Leboulanger 2006-06-28 07:28:59 +00:00
parent 60f9741046
commit 64fcd53cff
1 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,8 @@ class PreferencesWindow:
commands = ('aplay', 'play', 'esdplay', 'artsplay')
for command in commands:
if helpers.is_in_path(command):
if command == 'aplay':
command += ' -q'
self.xml.get_widget('soundplayer_entry').set_text(command)
gajim.config.set('soundplayer', command)
break