summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Ceolin <flavio.ceolin@gmail.com>2014-08-29 00:20:34 -0300
committerFlavio Ceolin <flavio.ceolin@gmail.com>2014-08-29 23:36:28 -0300
commit45b1b92b3575edd9d6546e6724116fe1616ee02c (patch)
treeba5c46ee91a11083abc59f800bc340e6a52b2ba2
parent6c1da9d452633f85bd056c35f88207a6a1e5e337 (diff)
emixer: Try to load alsa if pulseaudio fails
-rw-r--r--src/bin/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 3045268..f7da8e1 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -19,8 +19,11 @@ elm_main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
19 19
20 if (emix_backend_set("PULSEAUDIO") == EINA_FALSE) 20 if (emix_backend_set("PULSEAUDIO") == EINA_FALSE)
21 { 21 {
22 ERR("Could not start the backend !"); 22 if (emix_backend_set("ALSA") == EINA_FALSE)
23 goto end; 23 {
24 ERR("Could not start the backend !");
25 goto end;
26 }
24 } 27 }
25 28
26 elm_run(); 29 elm_run();