aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/edje/src/modules/multisense_factory/multisense_factory.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:29:19 +1000
committerDavid Walter Seikel2013-01-13 17:29:19 +1000
commit07274513e984f0b5544586c74508ccd16e7dcafa (patch)
treeb32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/edje/src/modules/multisense_factory/multisense_factory.c
parentAdded Irrlicht 1.8, but without all the Windows binaries. (diff)
downloadSledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz
Remove EFL, since it's been released now.
Diffstat (limited to '')
-rw-r--r--libraries/edje/src/modules/multisense_factory/multisense_factory.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/libraries/edje/src/modules/multisense_factory/multisense_factory.c b/libraries/edje/src/modules/multisense_factory/multisense_factory.c
deleted file mode 100644
index 8b17be1..0000000
--- a/libraries/edje/src/modules/multisense_factory/multisense_factory.c
+++ /dev/null
@@ -1,33 +0,0 @@
1#include "config.h"
2#include "edje_private.h"
3
4#define DEFAULT_SAMPLERATE 44100
5
6#ifdef HAVE_LIBREMIX
7EAPI RemixBase *
8multisense_sound_player_get(Edje_Multisense_Env *msenv)
9{
10 RemixEnv *env = msenv->remixenv;
11 RemixPlugin *player_plugin;
12 RemixBase *player;
13
14 player_plugin = remix_find_plugin(env, "alsa_snd_player");
15 if (!player_plugin)
16 {
17 WRN("ALSA player_plugin init fail\n");
18 return remix_monitor_new(env);
19 }
20 player = remix_new(env, player_plugin, NULL);
21 return player;
22}
23#endif
24
25EAPI Eina_Bool
26multisense_factory_init(Edje_Multisense_Env *env __UNUSED__)
27{
28#ifdef HAVE_LIBREMIX
29 remix_set_samplerate(env->remixenv, DEFAULT_SAMPLERATE);
30 remix_set_channels(env->remixenv, REMIX_STEREO);
31#endif
32 return EINA_TRUE;
33}