if (ok)
{
init_status = FLAC__stream_encoder_init_file(encoder, snd_path, NULL,
- (void *)(total_samples));
+ (void *)(long)(total_samples));
if (init_status != FLAC__STREAM_ENCODER_INIT_STATUS_OK)
{
ERR("ERROR: unable to initialize FLAC encoder: %s\n",
EDJE_ACTION_TYPE_FOCUS_OBJECT = 10,
EDJE_ACTION_TYPE_PARAM_COPY = 11,
EDJE_ACTION_TYPE_PARAM_SET = 12,
- EDJE_ACTION_TYPE_SOUND_SAMPLE = 13,
- EDJE_ACTION_TYPE_SOUND_TONE = 14,
+ EDJE_ACTION_TYPE_SOUND_SAMPLE = 13, /**< @since 1.1 */
+ EDJE_ACTION_TYPE_SOUND_TONE = 14, /**< @since 1.1 */
EDJE_ACTION_TYPE_LAST = 15
} Edje_Action_Type;
*/
EAPI const Edje_External_Type *edje_external_type_get (const char *type_name);
- EAPI Eina_Module *edje_module_load (const char *module);
+ EAPI Eina_Bool edje_module_load (const char *module);
EAPI const Eina_List *edje_available_modules_get (void);
/* perspective info for maps inside edje objects */
# define EDJE_MODULE_NAME "module.so"
#endif
-EAPI Eina_Module *
+EAPI Eina_Bool
edje_module_load(const char *module)
+{
+ if (_edje_module_handle_load(module)) return EINA_TRUE;
+ return EINA_FALSE;
+}
+
+Eina_Module *
+_edje_module_handle_load(const char *module)
{
const char *path;
Eina_List *l;
else
strcpy(ms_factory, "multisense_factory");
- m = edje_module_load(ms_factory);
+ m = _edje_module_handle_load(ms_factory);
if (!m) goto err;
#ifdef HAVE_LIBREMIX
edje_remix_tone_create(Multisense_Data *msdata, Edje*ed, Edje_Tone_Action *action)
{
Edje_Sound_Tone *tone;
- RemixSquareTone *square;
+ RemixSquareTone *square = NULL;
unsigned int i;
if ((!ed) || (!ed->file) || (!ed->file->sound_dir))
void *_edje_external_params_parse(Evas_Object *obj, const Eina_List *params);
void _edje_external_parsed_params_free(Evas_Object *obj, void *params);
-EAPI void _edje_module_init();
-EAPI void _edje_module_shutdown();
+Eina_Module *_edje_module_handle_load(const char *module);
+void _edje_module_init();
+void _edje_module_shutdown();
static inline Eina_Bool
edje_program_is_strncmp(const char *str)
return EINA_TRUE;
}
+/* used by edje_cc - private still */
EAPI void _edje_program_insert(Edje_Part_Collection *ed, Edje_Program *p);
EAPI void _edje_program_remove(Edje_Part_Collection *ed, Edje_Program *p);
static RemixBase *
remix_eet_sndfile_create(RemixEnv *env, RemixBase *sndfile, const char *path, const char *sound_id, const double speed)
{
- SF_VIRTUAL_IO *eet_vio;
+ SF_VIRTUAL_IO *eet_vio = NULL;
SndInstanceData *si;
const void *sound_data;
int sound_size;