\hypertarget{structefl_1_1player}{\section{efl\+:\+:player Struct Reference}
\label{structefl_1_1player}\index{efl\+::player@{efl\+::player}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structefl_1_1player_ac451c5aa6270344a11e522e4212beb51}{player} (\hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$eo)
\begin{DoxyCompactList}\small\item\em Eo Constructor. \end{DoxyCompactList}\item 
\hyperlink{structefl_1_1player_ae7655976895560af5ddd2cc16429f38f}{player} (std\+::nullptr\+\_\+t)
\begin{DoxyCompactList}\small\item\em nullptr\+\_\+t Constructor. \end{DoxyCompactList}\item 
\hypertarget{structefl_1_1player_afe393cd9541b12720b4e6e85c8557441}{\hyperlink{structefl_1_1player_afe393cd9541b12720b4e6e85c8557441}{player} (\hyperlink{structefl_1_1player}{player} const \&other)}\label{structefl_1_1player_afe393cd9541b12720b4e6e85c8557441}

\begin{DoxyCompactList}\small\item\em Copy Constructor. \end{DoxyCompactList}\item 
bool \hyperlink{structefl_1_1player_a7cb12c492c0473a163694dd593424f10}{play\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em 
\begin{DoxyItemize}
\item 
\end{DoxyItemize}\end{DoxyCompactList}\item 
void \hyperlink{structefl_1_1player_a9a9d6a3e96d1b384378dd63c44b67d6f}{play\+\_\+set} (bool play\+\_\+) const 
\begin{DoxyCompactList}\small\item\em 
\begin{DoxyItemize}
\item 
\end{DoxyItemize}\end{DoxyCompactList}\item 
double \hyperlink{structefl_1_1player_a6c042f98b5e02b82b88f8f8c5463bcc5}{position\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em 
\begin{DoxyItemize}
\item 
\end{DoxyItemize}\end{DoxyCompactList}\item 
void \hyperlink{structefl_1_1player_adec45bd87788217c66a0c7f5bf92cd79}{position\+\_\+set} (double second\+\_\+) const 
\begin{DoxyCompactList}\small\item\em 
\begin{DoxyItemize}
\item 
\end{DoxyItemize}\end{DoxyCompactList}\item 
double \hyperlink{structefl_1_1player_a5f4bf4e74ab842cf9620d63f9395c473}{progress\+\_\+get} () const 
\begin{DoxyCompactList}\small\item\em 
\begin{DoxyItemize}
\item 
\end{DoxyItemize}\end{DoxyCompactList}\item 
double \hyperlink{structefl_1_1player_a7b02c8ea4dc195c9d1e63262be6a018a}{play\+\_\+speed\+\_\+get} () const 
\item 
void \hyperlink{structefl_1_1player_a8baef97396fa4b4315397869873a0950}{play\+\_\+speed\+\_\+set} (double speed\+\_\+) const 
\item 
double \hyperlink{structefl_1_1player_a1d705ff58a3a3e6301e2887db6c1a4ff}{audio\+\_\+volume\+\_\+get} () const 
\item 
void \hyperlink{structefl_1_1player_ad28b08049d4ec98d717ca429f1aa99e2}{audio\+\_\+volume\+\_\+set} (double volume\+\_\+) const 
\item 
bool \hyperlink{structefl_1_1player_a63b7afad380343ed1af417ee9d8082d4}{audio\+\_\+mute\+\_\+get} () const 
\item 
void \hyperlink{structefl_1_1player_a858f183fd6c29a31a0540751f63d7879}{audio\+\_\+mute\+\_\+set} (bool mute\+\_\+) const 
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structefl_1_1player_ac3c7bd93ac96311b9d8bb4bc2cec3167}{static \hyperlink{group__Eo_ga88d29df76a2921aa5478803156d83be5}{Eo\+\_\+\+Class} const $\ast$ {\bfseries \+\_\+eo\+\_\+class} ()}\label{structefl_1_1player_ac3c7bd93ac96311b9d8bb4bc2cec3167}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{structefl_1_1player_ac451c5aa6270344a11e522e4212beb51}{\index{efl\+::player@{efl\+::player}!player@{player}}
\index{player@{player}!efl\+::player@{efl\+::player}}
\subsubsection[{player}]{\setlength{\rightskip}{0pt plus 5cm}efl\+::player\+::player (
\begin{DoxyParamCaption}
\item[{{\bf Eo} $\ast$}]{eo}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}}\label{structefl_1_1player_ac451c5aa6270344a11e522e4212beb51}


Eo Constructor. 

Constructs the object from an Eo$\ast$ pointer stealing its ownership.


\begin{DoxyParams}{Parameters}
{\em eo} & The Eo object pointer. \\
\hline
\end{DoxyParams}
\hypertarget{structefl_1_1player_ae7655976895560af5ddd2cc16429f38f}{\index{efl\+::player@{efl\+::player}!player@{player}}
\index{player@{player}!efl\+::player@{efl\+::player}}
\subsubsection[{player}]{\setlength{\rightskip}{0pt plus 5cm}efl\+::player\+::player (
\begin{DoxyParamCaption}
\item[{std\+::nullptr\+\_\+t}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}}\label{structefl_1_1player_ae7655976895560af5ddd2cc16429f38f}


nullptr\+\_\+t Constructor. 

Constructs an empty (null) object. 

\subsection{Member Function Documentation}
\hypertarget{structefl_1_1player_a7cb12c492c0473a163694dd593424f10}{\index{efl\+::player@{efl\+::player}!play\+\_\+get@{play\+\_\+get}}
\index{play\+\_\+get@{play\+\_\+get}!efl\+::player@{efl\+::player}}
\subsubsection[{play\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool efl\+::player\+::play\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structefl_1_1player_a7cb12c492c0473a163694dd593424f10}



\begin{DoxyItemize}
\item 
\end{DoxyItemize}

Get play/pause state of the media file.


\begin{DoxyParams}{Parameters}
{\em play} & true if playing, false otherwise. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structefl_1_1player_a9a9d6a3e96d1b384378dd63c44b67d6f}{\index{efl\+::player@{efl\+::player}!play\+\_\+set@{play\+\_\+set}}
\index{play\+\_\+set@{play\+\_\+set}!efl\+::player@{efl\+::player}}
\subsubsection[{play\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void efl\+::player\+::play\+\_\+set (
\begin{DoxyParamCaption}
\item[{bool}]{play\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structefl_1_1player_a9a9d6a3e96d1b384378dd63c44b67d6f}



\begin{DoxyItemize}
\item 
\end{DoxyItemize}

Set play/pause state of the media file.
\begin{DoxyItemize}
\item 
\item This functions sets the currently playing status of the video. Using this
\item function to play or pause the video doesn't alter it's current position.
\end{DoxyItemize}


\begin{DoxyParams}{Parameters}
{\em play} & true if playing, false otherwise. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structefl_1_1player_a6c042f98b5e02b82b88f8f8c5463bcc5}{\index{efl\+::player@{efl\+::player}!position\+\_\+get@{position\+\_\+get}}
\index{position\+\_\+get@{position\+\_\+get}!efl\+::player@{efl\+::player}}
\subsubsection[{position\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}double efl\+::player\+::position\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structefl_1_1player_a6c042f98b5e02b82b88f8f8c5463bcc5}



\begin{DoxyItemize}
\item 
\end{DoxyItemize}

Get the position in the media file.
\begin{DoxyItemize}
\item 
\item 
\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object from which the position will be retrieved.\\
\hline
\end{DoxyParams}

\item \begin{DoxyReturn}{Returns}
The position of the media file.
\end{DoxyReturn}

\item 
\item The position is returned as the number of seconds since the beginning of the
\item media file.
\end{DoxyItemize}


\begin{DoxyParams}{Parameters}
{\em second} & The position (in seconds). \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structefl_1_1player_adec45bd87788217c66a0c7f5bf92cd79}{\index{efl\+::player@{efl\+::player}!position\+\_\+set@{position\+\_\+set}}
\index{position\+\_\+set@{position\+\_\+set}!efl\+::player@{efl\+::player}}
\subsubsection[{position\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void efl\+::player\+::position\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{second\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structefl_1_1player_adec45bd87788217c66a0c7f5bf92cd79}



\begin{DoxyItemize}
\item 
\end{DoxyItemize}

Set the position in the media file.
\begin{DoxyItemize}
\item 
\item 
\begin{DoxyParams}{Parameters}
{\em obj} & The emotion object whose position will be changed.\\
\hline
\end{DoxyParams}

\item 
\begin{DoxyParams}{Parameters}
{\em sec} & The position(in seconds) to which the media file will be set.\\
\hline
\end{DoxyParams}

\item 
\item This functions sets the current position of the media file to {\ttfamily sec}, this
\item only works on seekable streams. Setting the position doesn't change the
\item playing state of the media file.
\end{DoxyItemize}


\begin{DoxyParams}{Parameters}
{\em second} & The position (in seconds). \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structefl_1_1player_a5f4bf4e74ab842cf9620d63f9395c473}{\index{efl\+::player@{efl\+::player}!progress\+\_\+get@{progress\+\_\+get}}
\index{progress\+\_\+get@{progress\+\_\+get}!efl\+::player@{efl\+::player}}
\subsubsection[{progress\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}double efl\+::player\+::progress\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structefl_1_1player_a5f4bf4e74ab842cf9620d63f9395c473}



\begin{DoxyItemize}
\item 
\end{DoxyItemize}

Get how much of the file has been played.
\begin{DoxyItemize}
\item 
\item This function gets the progress in playing the file, the return value is in
\item the \mbox{[}0, 1\mbox{]} range.
\end{DoxyItemize}


\begin{DoxyParams}{Parameters}
{\em progress} & The progress within the \mbox{[}0, 1\mbox{]} range. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structefl_1_1player_a7b02c8ea4dc195c9d1e63262be6a018a}{\index{efl\+::player@{efl\+::player}!play\+\_\+speed\+\_\+get@{play\+\_\+speed\+\_\+get}}
\index{play\+\_\+speed\+\_\+get@{play\+\_\+speed\+\_\+get}!efl\+::player@{efl\+::player}}
\subsubsection[{play\+\_\+speed\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}double efl\+::player\+::play\+\_\+speed\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structefl_1_1player_a7b02c8ea4dc195c9d1e63262be6a018a}

\begin{DoxyParams}{Parameters}
{\em speed} & The play speed in the \mbox{[}0, infinity) range. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structefl_1_1player_a8baef97396fa4b4315397869873a0950}{\index{efl\+::player@{efl\+::player}!play\+\_\+speed\+\_\+set@{play\+\_\+speed\+\_\+set}}
\index{play\+\_\+speed\+\_\+set@{play\+\_\+speed\+\_\+set}!efl\+::player@{efl\+::player}}
\subsubsection[{play\+\_\+speed\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void efl\+::player\+::play\+\_\+speed\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{speed\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structefl_1_1player_a8baef97396fa4b4315397869873a0950}

\begin{DoxyParams}{Parameters}
{\em speed} & The play speed in the \mbox{[}0, infinity) range. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structefl_1_1player_a1d705ff58a3a3e6301e2887db6c1a4ff}{\index{efl\+::player@{efl\+::player}!audio\+\_\+volume\+\_\+get@{audio\+\_\+volume\+\_\+get}}
\index{audio\+\_\+volume\+\_\+get@{audio\+\_\+volume\+\_\+get}!efl\+::player@{efl\+::player}}
\subsubsection[{audio\+\_\+volume\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}double efl\+::player\+::audio\+\_\+volume\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structefl_1_1player_a1d705ff58a3a3e6301e2887db6c1a4ff}

\begin{DoxyParams}{Parameters}
{\em volume} & The volume level \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structefl_1_1player_ad28b08049d4ec98d717ca429f1aa99e2}{\index{efl\+::player@{efl\+::player}!audio\+\_\+volume\+\_\+set@{audio\+\_\+volume\+\_\+set}}
\index{audio\+\_\+volume\+\_\+set@{audio\+\_\+volume\+\_\+set}!efl\+::player@{efl\+::player}}
\subsubsection[{audio\+\_\+volume\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void efl\+::player\+::audio\+\_\+volume\+\_\+set (
\begin{DoxyParamCaption}
\item[{double}]{volume\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structefl_1_1player_ad28b08049d4ec98d717ca429f1aa99e2}

\begin{DoxyParams}{Parameters}
{\em volume} & The volume level \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structefl_1_1player_a63b7afad380343ed1af417ee9d8082d4}{\index{efl\+::player@{efl\+::player}!audio\+\_\+mute\+\_\+get@{audio\+\_\+mute\+\_\+get}}
\index{audio\+\_\+mute\+\_\+get@{audio\+\_\+mute\+\_\+get}!efl\+::player@{efl\+::player}}
\subsubsection[{audio\+\_\+mute\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}bool efl\+::player\+::audio\+\_\+mute\+\_\+get (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structefl_1_1player_a63b7afad380343ed1af417ee9d8082d4}

\begin{DoxyParams}{Parameters}
{\em mute} & The mute state. True or false. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

\hypertarget{structefl_1_1player_a858f183fd6c29a31a0540751f63d7879}{\index{efl\+::player@{efl\+::player}!audio\+\_\+mute\+\_\+set@{audio\+\_\+mute\+\_\+set}}
\index{audio\+\_\+mute\+\_\+set@{audio\+\_\+mute\+\_\+set}!efl\+::player@{efl\+::player}}
\subsubsection[{audio\+\_\+mute\+\_\+set}]{\setlength{\rightskip}{0pt plus 5cm}void efl\+::player\+::audio\+\_\+mute\+\_\+set (
\begin{DoxyParamCaption}
\item[{bool}]{mute\+\_\+}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{structefl_1_1player_a858f183fd6c29a31a0540751f63d7879}

\begin{DoxyParams}{Parameters}
{\em mute} & The mute state. True or false. \\
\hline
\end{DoxyParams}


References efl\+::eo\+::base\+::\+\_\+eo\+\_\+ptr().

