\hypertarget{group__Emotion__API}{}\doxysection{API available for manipulating Emotion object.}
\label{group__Emotion__API}\index{API available for manipulating Emotion object.@{API available for manipulating Emotion object.}}


How to create, initialize, manipulate and connect to signals of an Emotion object.  


\doxysubsection*{Modules}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Emotion__Init}{Creation and initialization functions}}
\item 
\mbox{\hyperlink{group__Emotion__Audio}{Audio control functions}}
\item 
\mbox{\hyperlink{group__Emotion__Video}{Video control functions}}
\item 
\mbox{\hyperlink{group__Emotion__Visualization}{Visualization control functions}}
\item 
\mbox{\hyperlink{group__Emotion__Info}{Miscellaneous information retrieval functions}}
\item 
\mbox{\hyperlink{group__Emotion__Ressource}{Video resource management}}
\item 
\mbox{\hyperlink{group__Emotion__Play}{Play control functions}}
\item 
\mbox{\hyperlink{group__Emotion__Webcam}{API available for accessing webcam}}
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Emotion__API_gaab2660883f5966ba24784ddd3e78138a}\label{group__Emotion__API_gaab2660883f5966ba24784ddd3e78138a}} 
typedef struct \+\_\+\+Emotion\+\_\+\+Webcam {\bfseries Emotion\+\_\+\+Webcam}
\begin{DoxyCompactList}\small\item\em Webcam description. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Emotion__API_ga5959f96c419207924c9935a9793706a5}{emotion\+\_\+init}} (void)
\begin{DoxyCompactList}\small\item\em Initialise Emotion library. \end{DoxyCompactList}\item 
EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Emotion__API_gac2efae65442ca95289fb273693195265}{emotion\+\_\+shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Shutdown Emotion library. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Emotion__API_ga8da2bed53f265b0e8d9c8e4f4a7c2174}\label{group__Emotion__API_ga8da2bed53f265b0e8d9c8e4f4a7c2174}} 
EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries emotion\+\_\+object\+\_\+video\+\_\+handled\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_ga5bba6a29cfec765f38ec4743f13fd429}\label{group__Emotion__API_ga5bba6a29cfec765f38ec4743f13fd429}} 
EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries emotion\+\_\+object\+\_\+audio\+\_\+handled\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
EMOTION\+\_\+\+API void \mbox{\hyperlink{group__Emotion__API_gaeb6a91b261a4633c690c77afcbdd7761}{emotion\+\_\+object\+\_\+event\+\_\+simple\+\_\+send}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, Emotion\+\_\+\+Event ev)
\begin{DoxyCompactList}\small\item\em Send an Emotion Event to an Evas object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Emotion__API_gabfafa1afa21c2ce5870ddb60c5f85fba}\label{group__Emotion__API_gabfafa1afa21c2ce5870ddb60c5f85fba}} 
EMOTION\+\_\+\+API int {\bfseries emotion\+\_\+object\+\_\+audio\+\_\+channel\+\_\+count} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_gae3e2695a028a4e53df8ed0665ea2c5f5}\label{group__Emotion__API_gae3e2695a028a4e53df8ed0665ea2c5f5}} 
EMOTION\+\_\+\+API const char $\ast$ {\bfseries emotion\+\_\+object\+\_\+audio\+\_\+channel\+\_\+name\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, int channel)
\item 
\mbox{\Hypertarget{group__Emotion__API_ga0fe405fce730a0bbcdcbd3b4c28227c4}\label{group__Emotion__API_ga0fe405fce730a0bbcdcbd3b4c28227c4}} 
EMOTION\+\_\+\+API void {\bfseries emotion\+\_\+object\+\_\+audio\+\_\+channel\+\_\+set} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, int channel)
\item 
\mbox{\Hypertarget{group__Emotion__API_gae4dd688c2d8196a3eb77541390aec45a}\label{group__Emotion__API_gae4dd688c2d8196a3eb77541390aec45a}} 
EMOTION\+\_\+\+API int {\bfseries emotion\+\_\+object\+\_\+audio\+\_\+channel\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_ga1e78d16a4ac103b9f1de0bb41389ff4e}\label{group__Emotion__API_ga1e78d16a4ac103b9f1de0bb41389ff4e}} 
EMOTION\+\_\+\+API void {\bfseries emotion\+\_\+object\+\_\+spu\+\_\+mute\+\_\+set} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} mute)
\item 
\mbox{\Hypertarget{group__Emotion__API_gaceaf29e9755b3b32c91e2d421cf0cb1c}\label{group__Emotion__API_gaceaf29e9755b3b32c91e2d421cf0cb1c}} 
EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} {\bfseries emotion\+\_\+object\+\_\+spu\+\_\+mute\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_gabfd7271b4329730491e67534caf3455f}\label{group__Emotion__API_gabfd7271b4329730491e67534caf3455f}} 
EMOTION\+\_\+\+API int {\bfseries emotion\+\_\+object\+\_\+spu\+\_\+channel\+\_\+count} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_gabef9438b2f11642ce53db33a048f4106}\label{group__Emotion__API_gabef9438b2f11642ce53db33a048f4106}} 
EMOTION\+\_\+\+API const char $\ast$ {\bfseries emotion\+\_\+object\+\_\+spu\+\_\+channel\+\_\+name\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, int channel)
\item 
\mbox{\Hypertarget{group__Emotion__API_ga97009026439fa0eed86f82af1cd6582f}\label{group__Emotion__API_ga97009026439fa0eed86f82af1cd6582f}} 
EMOTION\+\_\+\+API void {\bfseries emotion\+\_\+object\+\_\+spu\+\_\+channel\+\_\+set} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, int channel)
\item 
\mbox{\Hypertarget{group__Emotion__API_ga075436e92dbcbecce583f5101df3e055}\label{group__Emotion__API_ga075436e92dbcbecce583f5101df3e055}} 
EMOTION\+\_\+\+API int {\bfseries emotion\+\_\+object\+\_\+spu\+\_\+channel\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_ga2010a64d46e0e185b45a8833c0171140}\label{group__Emotion__API_ga2010a64d46e0e185b45a8833c0171140}} 
EMOTION\+\_\+\+API int {\bfseries emotion\+\_\+object\+\_\+chapter\+\_\+count} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_gacbbcbdaaf764f19bba7c14a3af9f86e4}\label{group__Emotion__API_gacbbcbdaaf764f19bba7c14a3af9f86e4}} 
EMOTION\+\_\+\+API void {\bfseries emotion\+\_\+object\+\_\+chapter\+\_\+set} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, int chapter)
\item 
\mbox{\Hypertarget{group__Emotion__API_gae9abc5b49399db0f4245398545081a1a}\label{group__Emotion__API_gae9abc5b49399db0f4245398545081a1a}} 
EMOTION\+\_\+\+API int {\bfseries emotion\+\_\+object\+\_\+chapter\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_ga7214c6842e2e8a3a8c665a876b7e21fa}\label{group__Emotion__API_ga7214c6842e2e8a3a8c665a876b7e21fa}} 
EMOTION\+\_\+\+API const char $\ast$ {\bfseries emotion\+\_\+object\+\_\+chapter\+\_\+name\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, int chapter)
\item 
\mbox{\Hypertarget{group__Emotion__API_ga3af120101fa400366c5d853794a98bc7}\label{group__Emotion__API_ga3af120101fa400366c5d853794a98bc7}} 
EMOTION\+\_\+\+API void {\bfseries emotion\+\_\+object\+\_\+eject} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_ga0d6855d8f04ee879b166bc30ab798e4c}\label{group__Emotion__API_ga0d6855d8f04ee879b166bc30ab798e4c}} 
EMOTION\+\_\+\+API const char $\ast$ {\bfseries emotion\+\_\+object\+\_\+ref\+\_\+file\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_gaee118c80e742fc5dd78e16e40fd8ceb7}\label{group__Emotion__API_gaee118c80e742fc5dd78e16e40fd8ceb7}} 
EMOTION\+\_\+\+API int {\bfseries emotion\+\_\+object\+\_\+ref\+\_\+num\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_gadd3e5e54f028b97812bb41b9787dd6df}\label{group__Emotion__API_gadd3e5e54f028b97812bb41b9787dd6df}} 
EMOTION\+\_\+\+API int {\bfseries emotion\+\_\+object\+\_\+spu\+\_\+button\+\_\+count\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
\mbox{\Hypertarget{group__Emotion__API_gae688062e6b99987e62205aca64d9f03a}\label{group__Emotion__API_gae688062e6b99987e62205aca64d9f03a}} 
EMOTION\+\_\+\+API int {\bfseries emotion\+\_\+object\+\_\+spu\+\_\+button\+\_\+get} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\item 
EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Emotion__API_ga028a4b03c87a30dc78a570c1fcb7cffc}{emotion\+\_\+object\+\_\+extension\+\_\+may\+\_\+play\+\_\+fast\+\_\+get}} (const char $\ast$file)
\begin{DoxyCompactList}\small\item\em Do we have a chance to play that file. \end{DoxyCompactList}\item 
EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Emotion__API_gacee1333ee2c41c126d6d7efd0ed65e88}{emotion\+\_\+object\+\_\+extension\+\_\+may\+\_\+play\+\_\+get}} (const char $\ast$file)
\begin{DoxyCompactList}\small\item\em Do we have a chance to play that file. \end{DoxyCompactList}\item 
EMOTION\+\_\+\+API \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Emotion__API_ga6de668aca9a341757148f50aad4f6613}{emotion\+\_\+object\+\_\+image\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the actual image object that contains the pixels of the video stream. \end{DoxyCompactList}\item 
EMOTION\+\_\+\+API \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ \mbox{\hyperlink{group__Emotion__API_gad521a3d6ed21752cfe51f05f405f5238}{emotion\+\_\+file\+\_\+meta\+\_\+artwork\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$path, Emotion\+\_\+\+Artwork\+\_\+\+Info type)
\begin{DoxyCompactList}\small\item\em Get the album artwork from file meta data tags. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Emotion__API_gacf1e744580291a1e14fd49cb258220a1}\label{group__Emotion__API_gacf1e744580291a1e14fd49cb258220a1}} 
EMOTION\+\_\+\+API int {\bfseries EMOTION\+\_\+\+WEBCAM\+\_\+\+UPDATE}
\begin{DoxyCompactList}\small\item\em Ecore\+\_\+\+Event triggered when a new webcam is plugged or unplugged. \end{DoxyCompactList}\item 
EMOTION\+\_\+\+API int \mbox{\hyperlink{group__Emotion__API_ga24fac7638f46ea2f06c64c88c625cc4d}{EMOTION\+\_\+\+WEBCAM\+\_\+\+ADD}}
\begin{DoxyCompactList}\small\item\em Ecore\+\_\+\+Event triggered when a new webcam is plugged in. \end{DoxyCompactList}\item 
EMOTION\+\_\+\+API int \mbox{\hyperlink{group__Emotion__API_ga137c924a3395053bcda763d80d863787}{EMOTION\+\_\+\+WEBCAM\+\_\+\+DEL}}
\begin{DoxyCompactList}\small\item\em Ecore\+\_\+\+Event triggered when a webcam is unplugged. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
How to create, initialize, manipulate and connect to signals of an Emotion object. 

Emotion provides an Evas smart object that allows to play, control and display a video or audio file. The API is synchronous but not everything happens immediately. There are also some signals to report changed states.

Basically, once the object is created and initialized, a file will be set to it, and then it can be resized, moved, and controlled by other Evas object functions.

However, the decoding of the music and video occurs not in the Ecore main loop, but usually in another thread (this depends on the module being used). The synchronization between this other thread and the main loop not visible to the end user of the library. The user can just register callbacks to the available signals to receive information about the changed states, and can call other functions from the API to request more changes on the current loaded file.

There will be a delay between an API being called and it being really executed, since this request will be done in the main thread, and it needs to be sent to the decoding thread. For this reason, always call functions like \mbox{\hyperlink{group__Emotion__Video_gae454b8c2d733de79da8013d64b7a2384}{emotion\+\_\+object\+\_\+size\+\_\+get()}} or emotion\+\_\+object\+\_\+length\+\_\+get() after some signal being sent, like \char`\"{}playback\+\_\+started\char`\"{} or \char`\"{}open\+\_\+done\char`\"{}. \mbox{\hyperlink{emotion_signals_example_8c-example}{This example demonstrates this behavior}}.\hypertarget{group__Emotion__API_signals}{}\doxysubsection{Available signals}\label{group__Emotion__API_signals}
The Evas\+\_\+\+Object returned by \mbox{\hyperlink{group__Emotion__Init_ga24f8978589d49e62ca8829f61fac83a9}{emotion\+\_\+object\+\_\+add()}} has a number of signals that can be listened to using evas\textquotesingle{} smart callbacks mechanism. All signals have NULL as event info. The following is a list of interesting signals\+: \begin{DoxyItemize}
\item \char`\"{}playback\+\_\+started\char`\"{} -\/ Emitted when the playback starts \item \char`\"{}playback\+\_\+finished\char`\"{} -\/ Emitted when the playback finishes \item \char`\"{}frame\+\_\+decode\char`\"{} -\/ Emitted every time a frame is decoded \item \char`\"{}open\+\_\+done\char`\"{} -\/ Emitted when the media file is opened \item \char`\"{}position\+\_\+update\char`\"{} -\/ Emitted when emotion\+\_\+object\+\_\+position\+\_\+set is called \item \char`\"{}decode\+\_\+stop\char`\"{} -\/ Emitted after the last frame is decoded\end{DoxyItemize}
\hypertarget{group__Emotion__API_Emotion_Examples}{}\doxysubsection{Emotion\+\_\+\+Examples}\label{group__Emotion__API_Emotion_Examples}
The following examples exemplify the emotion usage. There\textquotesingle{}s also the emotion\+\_\+test binary that is distributed with this library and cover the entire API, but since it is too long and repetitive to be explained, its code is just displayed as another example.

\begin{DoxyItemize}
\item \mbox{\hyperlink{emotion_basic_example_c}{Emotion -\/ Basic library usage}} \item \mbox{\hyperlink{emotion_signals_example_8c-example}{Emotion signals}} \item \mbox{\hyperlink{emotion_test_main_8c-example}{emotion\+\_\+test -\/ full API usage}} \end{DoxyItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Emotion__API_ga5959f96c419207924c9935a9793706a5}\label{group__Emotion__API_ga5959f96c419207924c9935a9793706a5}} 
\index{API available for manipulating Emotion object.@{API available for manipulating Emotion object.}!emotion\_init@{emotion\_init}}
\index{emotion\_init@{emotion\_init}!API available for manipulating Emotion object.@{API available for manipulating Emotion object.}}
\doxysubsubsection{\texorpdfstring{emotion\_init()}{emotion\_init()}}
{\footnotesize\ttfamily EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} emotion\+\_\+init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Initialise Emotion library. 

Initialise needed libraries like eina ecore eet Initialise needed modules like webcam \begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{emotion_test_main_8c-example}{emotion\+\_\+test\+\_\+main.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Ecore__Init__Group_ga77757609684a2c922dc5ec398274751b}{ecore\+\_\+init()}}, \mbox{\hyperlink{group__Eet__File__Group_ggaa8e1a7af50fefaf15eb2f69543d24998a416f7e9a76b8131a44bbeedb13060c81}{EET\+\_\+\+FILE\+\_\+\+MODE\+\_\+\+READ}}, \mbox{\hyperlink{group__Eet__Group_ga9903687bfa20fe9a9e59d4c1d213e89a}{eet\+\_\+init()}}, \mbox{\hyperlink{group__Eet__File__Group_ga675160a758832ee812edf7f64ed30ee6}{eet\+\_\+open()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Main__Group_ga81b8137665b8a4d2cb38ca50017d4c74}{eina\+\_\+init()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga5b50827f35399f9ff87f5d9d817c764a}{EINA\+\_\+\+LOG\+\_\+\+CRIT}}, \mbox{\hyperlink{group__Eina__Log__Group_ga79d0a42ab10dd0e7760b33ae33a6aae0}{eina\+\_\+log\+\_\+domain\+\_\+register()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga61776fa99e910e2d40f77c688c9bee5a}{eina\+\_\+log\+\_\+domain\+\_\+unregister()}}, \mbox{\hyperlink{group__Eina__Prefix__Group_ga23d85bc49fcbde16b390a14de82d7c05}{eina\+\_\+prefix\+\_\+data\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Prefix__Group_ga5eb719d9e167358b990544a7d57374d3}{eina\+\_\+prefix\+\_\+free()}}, \mbox{\hyperlink{group__Eina__Prefix__Group_ga92b8591293b0be7c1621e082229e3963}{eina\+\_\+prefix\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga4e028a0c5bd5743068c1c3f2302dc0e8}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+GOTO}}, \mbox{\hyperlink{group__Eina__Main__Group_ga5bf35513199d5220341437c05696285d}{eina\+\_\+shutdown()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, and \mbox{\hyperlink{group__Emotion__API_ga5959f96c419207924c9935a9793706a5}{emotion\+\_\+init()}}.



Referenced by \mbox{\hyperlink{group__Emotion__API_ga5959f96c419207924c9935a9793706a5}{emotion\+\_\+init()}}.

\mbox{\Hypertarget{group__Emotion__API_gac2efae65442ca95289fb273693195265}\label{group__Emotion__API_gac2efae65442ca95289fb273693195265}} 
\index{API available for manipulating Emotion object.@{API available for manipulating Emotion object.}!emotion\_shutdown@{emotion\_shutdown}}
\index{emotion\_shutdown@{emotion\_shutdown}!API available for manipulating Emotion object.@{API available for manipulating Emotion object.}}
\doxysubsubsection{\texorpdfstring{emotion\_shutdown()}{emotion\_shutdown()}}
{\footnotesize\ttfamily EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} emotion\+\_\+shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shutdown Emotion library. 

Proper shutdown of all loaded modules and initialised libraries. \begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{emotion_test_main_8c-example}{emotion\+\_\+test\+\_\+main.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Ecore__Main__Loop__Group_ga0b23ea5d7f31f45e2c2f37d4393ddb2e}{ecore\+\_\+main\+\_\+loop\+\_\+iterate()}}, \mbox{\hyperlink{group__Ecore__Init__Group_ga768298b932f18d7e7593a447493e5cde}{ecore\+\_\+shutdown()}}, \mbox{\hyperlink{group__Ecore__Time__Group_ga98f2439b5d3e7114a75bfe2f0c22c4e9}{ecore\+\_\+time\+\_\+get()}}, \mbox{\hyperlink{group__Eet__File__Group_ga1675fef1f6012c1e02ae313d13dc3e03}{eet\+\_\+close()}}, \mbox{\hyperlink{group__Eet__Group_gacbc7583179399d3b3e7b003e911f866f}{eet\+\_\+shutdown()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Log__Group_ga61776fa99e910e2d40f77c688c9bee5a}{eina\+\_\+log\+\_\+domain\+\_\+unregister()}}, \mbox{\hyperlink{group__Eina__Prefix__Group_ga5eb719d9e167358b990544a7d57374d3}{eina\+\_\+prefix\+\_\+free()}}, \mbox{\hyperlink{group__Eina__Main__Group_ga5bf35513199d5220341437c05696285d}{eina\+\_\+shutdown()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Emotion__API_gaeb6a91b261a4633c690c77afcbdd7761}\label{group__Emotion__API_gaeb6a91b261a4633c690c77afcbdd7761}} 
\index{API available for manipulating Emotion object.@{API available for manipulating Emotion object.}!emotion\_object\_event\_simple\_send@{emotion\_object\_event\_simple\_send}}
\index{emotion\_object\_event\_simple\_send@{emotion\_object\_event\_simple\_send}!API available for manipulating Emotion object.@{API available for manipulating Emotion object.}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_event\_simple\_send()}{emotion\_object\_event\_simple\_send()}}
{\footnotesize\ttfamily EMOTION\+\_\+\+API void emotion\+\_\+object\+\_\+event\+\_\+simple\+\_\+send (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{Emotion\+\_\+\+Event}]{ev }\end{DoxyParamCaption})}



Send an Emotion Event to an Evas object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object target of the event. \\
\hline
{\em ev} & The emotion event.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
Emotion\+\_\+\+Event 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{emotion_test_main_8c-example}{emotion\+\_\+test\+\_\+main.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Emotion__API_ga028a4b03c87a30dc78a570c1fcb7cffc}\label{group__Emotion__API_ga028a4b03c87a30dc78a570c1fcb7cffc}} 
\index{API available for manipulating Emotion object.@{API available for manipulating Emotion object.}!emotion\_object\_extension\_may\_play\_fast\_get@{emotion\_object\_extension\_may\_play\_fast\_get}}
\index{emotion\_object\_extension\_may\_play\_fast\_get@{emotion\_object\_extension\_may\_play\_fast\_get}!API available for manipulating Emotion object.@{API available for manipulating Emotion object.}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_extension\_may\_play\_fast\_get()}{emotion\_object\_extension\_may\_play\_fast\_get()}}
{\footnotesize\ttfamily EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} emotion\+\_\+object\+\_\+extension\+\_\+may\+\_\+play\+\_\+fast\+\_\+get (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file }\end{DoxyParamCaption})}



Do we have a chance to play that file. 


\begin{DoxyParams}{Parameters}
{\em file} & A stringshared filename that we want to know if Emotion can play.\\
\hline
\end{DoxyParams}
This just actually look at the extension of the file, it doesn\textquotesingle{}t check the mime-\/type nor if the file is actually sane. So this is just an hint for your application.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__API_gacee1333ee2c41c126d6d7efd0ed65e88}{emotion\+\_\+object\+\_\+extension\+\_\+may\+\_\+play\+\_\+get()}} 
\end{DoxySeeAlso}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Emotion__API_gacee1333ee2c41c126d6d7efd0ed65e88}{emotion\+\_\+object\+\_\+extension\+\_\+may\+\_\+play\+\_\+get()}}.

\mbox{\Hypertarget{group__Emotion__API_gacee1333ee2c41c126d6d7efd0ed65e88}\label{group__Emotion__API_gacee1333ee2c41c126d6d7efd0ed65e88}} 
\index{API available for manipulating Emotion object.@{API available for manipulating Emotion object.}!emotion\_object\_extension\_may\_play\_get@{emotion\_object\_extension\_may\_play\_get}}
\index{emotion\_object\_extension\_may\_play\_get@{emotion\_object\_extension\_may\_play\_get}!API available for manipulating Emotion object.@{API available for manipulating Emotion object.}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_extension\_may\_play\_get()}{emotion\_object\_extension\_may\_play\_get()}}
{\footnotesize\ttfamily EMOTION\+\_\+\+API \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} emotion\+\_\+object\+\_\+extension\+\_\+may\+\_\+play\+\_\+get (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file }\end{DoxyParamCaption})}



Do we have a chance to play that file. 


\begin{DoxyParams}{Parameters}
{\em file} & A filename that we want to know if Emotion can play.\\
\hline
\end{DoxyParams}
This just actually look at the extension of the file, it doesn\textquotesingle{}t check the mime-\/type nor if the file is actually sane. So this is just an hint for your application.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__API_ga028a4b03c87a30dc78a570c1fcb7cffc}{emotion\+\_\+object\+\_\+extension\+\_\+may\+\_\+play\+\_\+fast\+\_\+get()}} 
\end{DoxySeeAlso}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}, \mbox{\hyperlink{group__Eina__Stringshare__Group_ga5538b4a134987b8a01744fad1a845ba4}{eina\+\_\+stringshare\+\_\+del()}}, and \mbox{\hyperlink{group__Emotion__API_ga028a4b03c87a30dc78a570c1fcb7cffc}{emotion\+\_\+object\+\_\+extension\+\_\+may\+\_\+play\+\_\+fast\+\_\+get()}}.

\mbox{\Hypertarget{group__Emotion__API_ga6de668aca9a341757148f50aad4f6613}\label{group__Emotion__API_ga6de668aca9a341757148f50aad4f6613}} 
\index{API available for manipulating Emotion object.@{API available for manipulating Emotion object.}!emotion\_object\_image\_get@{emotion\_object\_image\_get}}
\index{emotion\_object\_image\_get@{emotion\_object\_image\_get}!API available for manipulating Emotion object.@{API available for manipulating Emotion object.}}
\doxysubsubsection{\texorpdfstring{emotion\_object\_image\_get()}{emotion\_object\_image\_get()}}
{\footnotesize\ttfamily EMOTION\+\_\+\+API \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ emotion\+\_\+object\+\_\+image\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the actual image object that contains the pixels of the video stream. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which the query is being ran on.\\
\hline
\end{DoxyParams}
This function is useful when you want to get a direct access to the pixels.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Emotion__API_ga6de668aca9a341757148f50aad4f6613}{emotion\+\_\+object\+\_\+image\+\_\+get()}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__API_gad521a3d6ed21752cfe51f05f405f5238}\label{group__Emotion__API_gad521a3d6ed21752cfe51f05f405f5238}} 
\index{API available for manipulating Emotion object.@{API available for manipulating Emotion object.}!emotion\_file\_meta\_artwork\_get@{emotion\_file\_meta\_artwork\_get}}
\index{emotion\_file\_meta\_artwork\_get@{emotion\_file\_meta\_artwork\_get}!API available for manipulating Emotion object.@{API available for manipulating Emotion object.}}
\doxysubsubsection{\texorpdfstring{emotion\_file\_meta\_artwork\_get()}{emotion\_file\_meta\_artwork\_get()}}
{\footnotesize\ttfamily EMOTION\+\_\+\+API \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$ emotion\+\_\+file\+\_\+meta\+\_\+artwork\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{path,  }\item[{Emotion\+\_\+\+Artwork\+\_\+\+Info}]{type }\end{DoxyParamCaption})}



Get the album artwork from file meta data tags. 


\begin{DoxyParams}{Parameters}
{\em obj} & The evas object we are working with. \\
\hline
{\em path} & The local path for the file. \\
\hline
{\em type} & The metadata location type (GST\+\_\+\+IMAGE\+\_\+\+PREVIEW\+\_\+\+IMAGE or GST\+\_\+\+PREVIEW).\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+19 
\end{DoxySince}


References \mbox{\hyperlink{group__Evas__Image_gga17a0211044defa51aa3ceaadaa4e53c2a016233a6ae27765a3aa2759753c112ac}{EVAS\+\_\+\+LOAD\+\_\+\+ERROR\+\_\+\+NONE}}, \mbox{\hyperlink{group__Evas__Object__Group_ga7e211219d11abced5f3089362f7476b9}{evas\+\_\+object\+\_\+evas\+\_\+get()}}, \mbox{\hyperlink{group__Evas__Object__Image_ga6472e3566f3f4948f2c8d37dbbb91999}{evas\+\_\+object\+\_\+image\+\_\+add()}}, and \mbox{\hyperlink{group__Evas__Object__Image_ga10a0117fbd14e665a988cd4913c324d9}{evas\+\_\+object\+\_\+image\+\_\+load\+\_\+error\+\_\+get()}}.



\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{group__Emotion__API_ga24fac7638f46ea2f06c64c88c625cc4d}\label{group__Emotion__API_ga24fac7638f46ea2f06c64c88c625cc4d}} 
\index{API available for manipulating Emotion object.@{API available for manipulating Emotion object.}!EMOTION\_WEBCAM\_ADD@{EMOTION\_WEBCAM\_ADD}}
\index{EMOTION\_WEBCAM\_ADD@{EMOTION\_WEBCAM\_ADD}!API available for manipulating Emotion object.@{API available for manipulating Emotion object.}}
\doxysubsubsection{\texorpdfstring{EMOTION\_WEBCAM\_ADD}{EMOTION\_WEBCAM\_ADD}}
{\footnotesize\ttfamily EMOTION\+\_\+\+API int EMOTION\+\_\+\+WEBCAM\+\_\+\+ADD\hspace{0.3cm}{\ttfamily [extern]}}



Ecore\+\_\+\+Event triggered when a new webcam is plugged in. 

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{group__Emotion__API_ga137c924a3395053bcda763d80d863787}\label{group__Emotion__API_ga137c924a3395053bcda763d80d863787}} 
\index{API available for manipulating Emotion object.@{API available for manipulating Emotion object.}!EMOTION\_WEBCAM\_DEL@{EMOTION\_WEBCAM\_DEL}}
\index{EMOTION\_WEBCAM\_DEL@{EMOTION\_WEBCAM\_DEL}!API available for manipulating Emotion object.@{API available for manipulating Emotion object.}}
\doxysubsubsection{\texorpdfstring{EMOTION\_WEBCAM\_DEL}{EMOTION\_WEBCAM\_DEL}}
{\footnotesize\ttfamily EMOTION\+\_\+\+API int EMOTION\+\_\+\+WEBCAM\+\_\+\+DEL\hspace{0.3cm}{\ttfamily [extern]}}



Ecore\+\_\+\+Event triggered when a webcam is unplugged. 

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
