From dd7595a3475407a7fa96a97393bae8c5220e8762 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 4 Jan 2012 18:41:13 +1000 Subject: Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje. Note that embryo wont be used, but I'm not sure yet if you can build edje without it. --- libraries/edje/src/bin/edje_multisense_convert.h | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 libraries/edje/src/bin/edje_multisense_convert.h (limited to 'libraries/edje/src/bin/edje_multisense_convert.h') diff --git a/libraries/edje/src/bin/edje_multisense_convert.h b/libraries/edje/src/bin/edje_multisense_convert.h new file mode 100644 index 0000000..05ee2f7 --- /dev/null +++ b/libraries/edje/src/bin/edje_multisense_convert.h @@ -0,0 +1,25 @@ +#ifndef EDJE_SND_CONVERT_H__ +# define EDJE_SND_CONVERT_H__ +#include "edje_private.h" + +#ifdef HAVE_LIBSNDFILE +#include + +#define SF_CONTAINER(x) ((x) & SF_FORMAT_TYPEMASK) +#define SF_CODEC(x) ((x) & SF_FORMAT_SUBMASK) + +typedef struct _Edje_Sound_Encode Edje_Sound_Encode; + +struct _Edje_Sound_Encode /*Encoding information*/ +{ + const char *file; /* the encode sound file path */ + Eina_Bool encoded; /* True if encoding is successful else False */ + char *comp_type; /* either LOSSLESS (FLAC) or LOSSY (Ogg/Vorbis) Compression */ +}; + +Edje_Sound_Encode *_edje_multisense_encode(const char* filename, Edje_Sound_Sample *sample, double quality); +const char *_edje_multisense_encode_to_flac(char *snd_path, SF_INFO sfinfo); +const char *_edje_multisense_encode_to_ogg_vorbis(char *snd_path, double quality, SF_INFO sfinfo); + +#endif +#endif -- cgit v1.1