diff options
-rw-r--r-- | src/audio/Makefile | 2 | ||||
-rw-r--r-- | src/audio/audio.vala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/Makefile b/src/audio/Makefile index 1898752..950287a 100644 --- a/src/audio/Makefile +++ b/src/audio/Makefile @@ -2,7 +2,7 @@ all: audio @echo > /dev/null audio: main.vala audio.vala audio-interface.vala ../config/config-interface.vala - valac -X -w -o $@ --pkg gstreamer-0.10 --pkg gio-2.0 $^ + valac -X -w -o $@ --pkg gstreamer-1.0 --pkg gio-2.0 $^ clean: rm -rf audio diff --git a/src/audio/audio.vala b/src/audio/audio.vala index 1404969..76e01b3 100644 --- a/src/audio/audio.vala +++ b/src/audio/audio.vala @@ -36,7 +36,7 @@ public class AudioPlayerImplementation { var alsa = Gst.ElementFactory.make("alsasink", "alsa"); p = Gst.ElementFactory.make("playbin2", "play"); p.set("audio-sink", alsa); - p.get_bus().add_watch(bus_callback); + p.get_bus().add_watch(Priority.DEFAULT, bus_callback); } public void play_system(string file) { |