summaryrefslogtreecommitdiffstats
path: root/src/audio/audio.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/audio.vala')
-rw-r--r--src/audio/audio.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/audio.vala b/src/audio/audio.vala
index 9884d7e..a6e5007 100644
--- a/src/audio/audio.vala
+++ b/src/audio/audio.vala
@@ -30,8 +30,8 @@ public class AudioPlayerImplementation {
return true;
}
- public AudioPlayerImplementation() {
- path = Environment.get_current_dir()+"/../../sounds/";
+ public AudioPlayerImplementation(string path) {
+ this.path = path;
var alsa = Gst.ElementFactory.make("alsasink", "alsa");
p = Gst.ElementFactory.make("playbin2", "play");