\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__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} 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__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} 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__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} 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__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \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}
\hypertarget{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[{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{double}]{vol}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Audio_ga8dcca237d564c421d2d59d693c228a4d}


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't get changed when another file is loaded.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Emotion__Audio_ga1e24b2638ffa1a7ecebc3861e22f5f37}{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+get()} 
\end{DoxySeeAlso}
\hypertarget{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[{emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} double emotion\+\_\+object\+\_\+audio\+\_\+volume\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Audio_ga1e24b2638ffa1a7ecebc3861e22f5f37}


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}
\hypertarget{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[{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Evas\+\_\+\+Object} $\ast$}]{obj, }
\item[{{\bf Eina\+\_\+\+Bool}}]{mute}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Audio_gabf1691c216e1ffd394a59d164a26c880}


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\+U\+E}) or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}).\\
\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}
\hypertarget{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[{emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} emotion\+\_\+object\+\_\+audio\+\_\+mute\+\_\+get (
\begin{DoxyParamCaption}
\item[{const {\bf Evas\+\_\+\+Object} $\ast$}]{obj}
\end{DoxyParamCaption}
)}}\label{group__Emotion__Audio_ga785857c5b8c5827461272a15fe4115ff}


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\+U\+E}) or not ({\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}).
\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}
