\hypertarget{struct__Ecore__Audio__Vio}{}\doxysection{\+\_\+\+Ecore\+\_\+\+Audio\+\_\+\+Vio Struct Reference}
\label{struct__Ecore__Audio__Vio}\index{\_Ecore\_Audio\_Vio@{\_Ecore\_Audio\_Vio}}
\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
int($\ast$ \mbox{\hyperlink{struct__Ecore__Audio__Vio_a6bee9b16dedcc803e9dbdf6fe805875f}{get\+\_\+length}} )(void $\ast$data, Eo $\ast$eo\+\_\+obj)
\begin{DoxyCompactList}\small\item\em Gets the length of the file. \end{DoxyCompactList}\item 
int($\ast$ \mbox{\hyperlink{struct__Ecore__Audio__Vio_ac5f4af98169c123930b8c7eac4e99df5}{seek}} )(void $\ast$data, Eo $\ast$eo\+\_\+obj, int offset, int whence)
\begin{DoxyCompactList}\small\item\em Seeks to a position within the file. \end{DoxyCompactList}\item 
int($\ast$ \mbox{\hyperlink{struct__Ecore__Audio__Vio_a72d4533f83b6fc3cd9a97c7ddffa9ef6}{tell}} )(void $\ast$data, Eo $\ast$eo\+\_\+obj)
\begin{DoxyCompactList}\small\item\em Gets the current position within the file. \end{DoxyCompactList}\item 
int($\ast$ \mbox{\hyperlink{struct__Ecore__Audio__Vio_aaf9b9ae51da618eb5ab93fd392014ad6}{read}} )(void $\ast$data, Eo $\ast$eo\+\_\+obj, void $\ast$buffer, int length)
\begin{DoxyCompactList}\small\item\em Reads some data from the file. \end{DoxyCompactList}\item 
int($\ast$ \mbox{\hyperlink{struct__Ecore__Audio__Vio_a895de543c9307be94fd7dd4af544a552}{write}} )(void $\ast$data, Eo $\ast$eo\+\_\+obj, const void $\ast$buffer, int length)
\begin{DoxyCompactList}\small\item\em Writes some data to the file. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Field Documentation}
\mbox{\Hypertarget{struct__Ecore__Audio__Vio_a6bee9b16dedcc803e9dbdf6fe805875f}\label{struct__Ecore__Audio__Vio_a6bee9b16dedcc803e9dbdf6fe805875f}} 
\index{\_Ecore\_Audio\_Vio@{\_Ecore\_Audio\_Vio}!get\_length@{get\_length}}
\index{get\_length@{get\_length}!\_Ecore\_Audio\_Vio@{\_Ecore\_Audio\_Vio}}
\doxysubsubsection{\texorpdfstring{get\_length}{get\_length}}
{\footnotesize\ttfamily int($\ast$ \+\_\+\+Ecore\+\_\+\+Audio\+\_\+\+Vio\+::get\+\_\+length) (void $\ast$data, Eo $\ast$eo\+\_\+obj)}



Gets the length of the file. 


\begin{DoxyParams}{Parameters}
{\em data} & User data from the ecore\+\_\+audio\+\_\+obj\+\_\+set\+\_\+vio call \\
\hline
{\em eo\+\_\+obj} & The Ecore\+\_\+\+Audio object this operates on\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The length of the virtual file in bytes
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{struct__Ecore__Audio__Vio_ac5f4af98169c123930b8c7eac4e99df5}\label{struct__Ecore__Audio__Vio_ac5f4af98169c123930b8c7eac4e99df5}} 
\index{\_Ecore\_Audio\_Vio@{\_Ecore\_Audio\_Vio}!seek@{seek}}
\index{seek@{seek}!\_Ecore\_Audio\_Vio@{\_Ecore\_Audio\_Vio}}
\doxysubsubsection{\texorpdfstring{seek}{seek}}
{\footnotesize\ttfamily int($\ast$ \+\_\+\+Ecore\+\_\+\+Audio\+\_\+\+Vio\+::seek) (void $\ast$data, Eo $\ast$eo\+\_\+obj, int offset, int whence)}



Seeks to a position within the file. 


\begin{DoxyParams}{Parameters}
{\em data} & User data from the ecore\+\_\+audio\+\_\+obj\+\_\+set\+\_\+vio call \\
\hline
{\em eo\+\_\+obj} & The Ecore\+\_\+\+Audio object this operates on \\
\hline
{\em offset} & The number of bytes to move (can be negative) \\
\hline
{\em whence} & Accepts the same values as fseek(), which are\+: SEEK\+\_\+\+SET\+: offset is absolute SEEK\+\_\+\+CUR\+: offset is relative to the current position SEEK\+\_\+\+END\+: offset is relative to the end\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The resulting position from the start of the file (in bytes) or -\/1 if an error occurred (i.\+e. out of bounds)
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{struct__Ecore__Audio__Vio_a72d4533f83b6fc3cd9a97c7ddffa9ef6}\label{struct__Ecore__Audio__Vio_a72d4533f83b6fc3cd9a97c7ddffa9ef6}} 
\index{\_Ecore\_Audio\_Vio@{\_Ecore\_Audio\_Vio}!tell@{tell}}
\index{tell@{tell}!\_Ecore\_Audio\_Vio@{\_Ecore\_Audio\_Vio}}
\doxysubsubsection{\texorpdfstring{tell}{tell}}
{\footnotesize\ttfamily int($\ast$ \+\_\+\+Ecore\+\_\+\+Audio\+\_\+\+Vio\+::tell) (void $\ast$data, Eo $\ast$eo\+\_\+obj)}



Gets the current position within the file. 


\begin{DoxyParams}{Parameters}
{\em data} & User data from the ecore\+\_\+audio\+\_\+obj\+\_\+set\+\_\+vio call \\
\hline
{\em eo\+\_\+obj} & The Ecore\+\_\+\+Audio object this operates on\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The resulting position from the start of the file (in bytes)
\end{DoxyReturn}
This is equivalent to calling \mbox{\hyperlink{struct__Ecore__Audio__Vio_ac5f4af98169c123930b8c7eac4e99df5}{seek()}} with offset 0 and whence SEEK\+\_\+\+CUR.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{struct__Ecore__Audio__Vio_aaf9b9ae51da618eb5ab93fd392014ad6}\label{struct__Ecore__Audio__Vio_aaf9b9ae51da618eb5ab93fd392014ad6}} 
\index{\_Ecore\_Audio\_Vio@{\_Ecore\_Audio\_Vio}!read@{read}}
\index{read@{read}!\_Ecore\_Audio\_Vio@{\_Ecore\_Audio\_Vio}}
\doxysubsubsection{\texorpdfstring{read}{read}}
{\footnotesize\ttfamily int($\ast$ \+\_\+\+Ecore\+\_\+\+Audio\+\_\+\+Vio\+::read) (void $\ast$data, Eo $\ast$eo\+\_\+obj, void $\ast$buffer, int length)}



Reads some data from the file. 


\begin{DoxyParams}[1]{Parameters}
 & {\em data} & User data from the ecore\+\_\+audio\+\_\+obj\+\_\+set\+\_\+vio call \\
\hline
 & {\em eo\+\_\+obj} & The Ecore\+\_\+\+Audio object this operates on \\
\hline
\mbox{\texttt{ out}}  & {\em buffer} & the buffer to write the data to \\
\hline
 & {\em length} & The number of bytes to read\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of bytes read from the file. May be less than length
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\mbox{\Hypertarget{struct__Ecore__Audio__Vio_a895de543c9307be94fd7dd4af544a552}\label{struct__Ecore__Audio__Vio_a895de543c9307be94fd7dd4af544a552}} 
\index{\_Ecore\_Audio\_Vio@{\_Ecore\_Audio\_Vio}!write@{write}}
\index{write@{write}!\_Ecore\_Audio\_Vio@{\_Ecore\_Audio\_Vio}}
\doxysubsubsection{\texorpdfstring{write}{write}}
{\footnotesize\ttfamily int($\ast$ \+\_\+\+Ecore\+\_\+\+Audio\+\_\+\+Vio\+::write) (void $\ast$data, Eo $\ast$eo\+\_\+obj, const void $\ast$buffer, int length)}



Writes some data to the file. 


\begin{DoxyParams}{Parameters}
{\em data} & User data from the ecore\+\_\+audio\+\_\+obj\+\_\+set\+\_\+vio call \\
\hline
{\em eo\+\_\+obj} & The Ecore\+\_\+\+Audio object this operates on \\
\hline
{\em buffer} & Write data from here to the file \\
\hline
{\em length} & The number of bytes to write\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of bytes written to the file. May be less than length
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
