summaryrefslogtreecommitdiff
path: root/src/bin/main.c
diff options
context:
space:
mode:
authorFlavio Ceolin <flavio.ceolin@gmail.com>2014-08-08 00:53:38 -0300
committerFlavio Ceolin <flavio.ceolin@gmail.com>2014-08-14 23:33:19 -0300
commitb68c9f556b594fadb7ac43520bb00b8376d418d3 (patch)
tree0d9cd1aac7101a879f343d89d35f6e32483940f9 /src/bin/main.c
parentabb65b2ba5ea7b0a1e005538aacc9bc199be820f (diff)
Removed libepulse
It's possible build the module and the mixer without pulseaudio. The application and module have no depencies except efl, all the low-level stuff is done in the backends.
Diffstat (limited to 'src/bin/main.c')
-rw-r--r--src/bin/main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 56f7524..29f66ee 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -1,6 +1,5 @@
1#include <common.h>
2#include <epulse.h>
3#include <emix.h> 1#include <emix.h>
2#include "common.h"
4#include "main_window.h" 3#include "main_window.h"
5 4
6#define DEFAULT_HEIGHT 600 5#define DEFAULT_HEIGHT 600
@@ -11,8 +10,7 @@ elm_main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
11{ 10{
12 Evas_Object *win; 11 Evas_Object *win;
13 12
14 EINA_SAFETY_ON_FALSE_RETURN_VAL(epulse_common_init("epulse"), EXIT_FAILURE); 13 EINA_SAFETY_ON_FALSE_RETURN_VAL(epulse_common_init("emixer"), EXIT_FAILURE);
15 EINA_SAFETY_ON_FALSE_RETURN_VAL(epulse_init() > 0, EXIT_FAILURE);
16 EINA_SAFETY_ON_FALSE_RETURN_VAL(emix_init() == EINA_TRUE, EXIT_FAILURE); 14 EINA_SAFETY_ON_FALSE_RETURN_VAL(emix_init() == EINA_TRUE, EXIT_FAILURE);
17 15
18 win = main_window_add(); 16 win = main_window_add();
@@ -23,7 +21,6 @@ elm_main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
23 elm_run(); 21 elm_run();
24 22
25 epulse_common_shutdown(); 23 epulse_common_shutdown();
26 epulse_shutdown();
27 emix_shutdown(); 24 emix_shutdown();
28 return 0; 25 return 0;
29} 26}