\hypertarget{group__Emotion__Audio}{}\section{Audio control functions}
\label{group__Emotion__Audio}\index{Audio control functions@{Audio control functions}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Audio_ga8dcca237d564c421d2d59d693c228a4d}{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, double vol)
\begin{DoxyCompactList}\small\item\em Set the audio volume. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} double \hyperlink{group__Emotion__Audio_ga1e24b2638ffa1a7ecebc3861e22f5f37}{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the audio volume. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void \hyperlink{group__Emotion__Audio_gabf1691c216e1ffd394a59d164a26c880}{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set} (\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} mute)
\begin{DoxyCompactList}\small\item\em Set the mute audio option for this object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Emotion__Audio_ga785857c5b8c5827461272a15fe4115ff}{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+get} (const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get the mute audio option of this object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Emotion__Audio_ga8dcca237d564c421d2d59d693c228a4d}\label{group__Emotion__Audio_ga8dcca237d564c421d2d59d693c228a4d}} 
\index{Audio control functions@{Audio control functions}!emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+set@{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+set}}
\index{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+set@{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+set}!Audio control functions@{Audio control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+set()}{emotion\_object\_audio\_volume\_set()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{double}]{vol }\end{DoxyParamCaption})}



Set the audio volume. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object where the volume is being set. \\
\hline
{\em vol} & The new volume parameter. Range is from 0.\+0 to 1.\+0.\\
\hline
\end{DoxyParams}
Sets the audio volume of the stream being played. This has nothing to do with the system volume. This volume will be multiplied by the system volume. e.\+g.\+: if the current volume level is 0.\+5, and the system volume is 50\%, it will be 0.\+5 $\ast$ 0.\+5 = 0.\+25.

The default value depends on the module used. This value doesn\textquotesingle{}t get changed when another file is loaded.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Audio_ga1e24b2638ffa1a7ecebc3861e22f5f37}{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+get()} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Audio_ga1e24b2638ffa1a7ecebc3861e22f5f37}\label{group__Emotion__Audio_ga1e24b2638ffa1a7ecebc3861e22f5f37}} 
\index{Audio control functions@{Audio control functions}!emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+get@{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+get}}
\index{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+get@{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+get}!Audio control functions@{Audio control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+get()}{emotion\_object\_audio\_volume\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} double emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the audio volume. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object from which we are retrieving the volume. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The current audio volume level for this object.
\end{DoxyReturn}
Get the current value for the audio volume level. Range is from 0.\+0 to 1.\+0. This volume is set with \hyperlink{group__Emotion__Audio_ga8dcca237d564c421d2d59d693c228a4d}{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+set()}.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Audio_ga8dcca237d564c421d2d59d693c228a4d}{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+set()} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Audio_gabf1691c216e1ffd394a59d164a26c880}\label{group__Emotion__Audio_gabf1691c216e1ffd394a59d164a26c880}} 
\index{Audio control functions@{Audio control functions}!emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set@{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set}}
\index{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set@{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set}!Audio control functions@{Audio control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set()}{emotion\_object\_audio\_mute\_set()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set (\begin{DoxyParamCaption}\item[{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj,  }\item[{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}]{mute }\end{DoxyParamCaption})}



Set the mute audio option for this object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are setting the mute audio option. \\
\hline
{\em mute} & Whether the audio should be muted ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}) or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}).\\
\hline
\end{DoxyParams}
This function sets the mute audio option for this emotion object. The current module used for this object can use this to avoid decoding the audio portion of the loaded media file.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Audio_ga785857c5b8c5827461272a15fe4115ff}{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+get()} 

\hyperlink{group__Emotion__Video_gab01124714bf0633b7552c97152022233}{emotion\+\_\+object\+\_\+video\+\_\+mute\+\_\+set()} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Emotion__Audio_ga785857c5b8c5827461272a15fe4115ff}\label{group__Emotion__Audio_ga785857c5b8c5827461272a15fe4115ff}} 
\index{Audio control functions@{Audio control functions}!emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+get@{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+get}}
\index{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+get@{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+get}!Audio control functions@{Audio control functions}}
\subsubsection{\texorpdfstring{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+get()}{emotion\_object\_audio\_mute\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+get (\begin{DoxyParamCaption}\item[{const \hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object} $\ast$}]{obj }\end{DoxyParamCaption})}



Get the mute audio option of this object. 


\begin{DoxyParams}{Parameters}
{\em obj} & The object which we are retrieving the mute audio option from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Whether the audio is muted ({\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+UE}) or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+SE}).
\end{DoxyReturn}
This function return the mute audio option from this emotion object. It can be set with \hyperlink{group__Emotion__Audio_gabf1691c216e1ffd394a59d164a26c880}{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set()}.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Audio_gabf1691c216e1ffd394a59d164a26c880}{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set()} 
\end{DoxySeeAlso}
