From 112e465dac7c743d3d54a83f16a0ccc844e8b977 Mon Sep 17 00:00:00 2001 From: seoz Date: Thu, 5 Jan 2012 01:11:15 +0000 Subject: [PATCH] edje multisense_factory.c: Changed file format to unix. Removed build warning. Removed trailing whitespace. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@66887 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- .../multisense_factory/multisense_factory.c | 66 +++++++++++----------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/src/modules/multisense_factory/multisense_factory.c b/src/modules/multisense_factory/multisense_factory.c index f89ae9b..8b17be1 100644 --- a/src/modules/multisense_factory/multisense_factory.c +++ b/src/modules/multisense_factory/multisense_factory.c @@ -1,33 +1,33 @@ -#include "config.h" -#include "edje_private.h" - -#define DEFAULT_SAMPLERATE 44100 - -#ifdef HAVE_LIBREMIX -EAPI RemixBase * -multisense_sound_player_get(Edje_Multisense_Env *msenv) -{ - RemixEnv *env = msenv->remixenv; - RemixPlugin *player_plugin; - RemixBase *player; - - player_plugin = remix_find_plugin(env, "alsa_snd_player"); - if (!player_plugin) - { - WRN("ALSA player_plugin init fail\n"); - return remix_monitor_new(env); - } - player = remix_new(env, player_plugin, NULL); - return player; -} -#endif - -EAPI Eina_Bool -multisense_factory_init(Edje_Multisense_Env *env) -{ -#ifdef HAVE_LIBREMIX - remix_set_samplerate(env->remixenv, DEFAULT_SAMPLERATE); - remix_set_channels(env->remixenv, REMIX_STEREO); -#endif - return EINA_TRUE; -} +#include "config.h" +#include "edje_private.h" + +#define DEFAULT_SAMPLERATE 44100 + +#ifdef HAVE_LIBREMIX +EAPI RemixBase * +multisense_sound_player_get(Edje_Multisense_Env *msenv) +{ + RemixEnv *env = msenv->remixenv; + RemixPlugin *player_plugin; + RemixBase *player; + + player_plugin = remix_find_plugin(env, "alsa_snd_player"); + if (!player_plugin) + { + WRN("ALSA player_plugin init fail\n"); + return remix_monitor_new(env); + } + player = remix_new(env, player_plugin, NULL); + return player; +} +#endif + +EAPI Eina_Bool +multisense_factory_init(Edje_Multisense_Env *env __UNUSED__) +{ +#ifdef HAVE_LIBREMIX + remix_set_samplerate(env->remixenv, DEFAULT_SAMPLERATE); + remix_set_channels(env->remixenv, REMIX_STEREO); +#endif + return EINA_TRUE; +} -- 2.7.4