Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'ui.py')
-rw-r--r--ui.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui.py b/ui.py
index 2a92b49..63bc97b 100644
--- a/ui.py
+++ b/ui.py
@@ -59,6 +59,7 @@ from button import RecdButton
import utils
import record
import camerac
+import aplay
from tray import HTray
from toolbarcombobox import ToolComboBox
@@ -1289,12 +1290,12 @@ class UI:
def clickShutter( self ):
if (not self.ca.m.RECORDING):
- os.system( "aplay -t wav " + str(Constants.soundClick) )
+ aplay.play(Constants.soundClick)
wasRec = self.ca.m.RECORDING
self.ca.m.doShutter()
if (wasRec):
- os.system( "aplay -t wav " + str(Constants.soundClick) )
+ aplay.play(Constants.soundClick)
def updateVideoComponents( self ):