long ov_crosslap(<ahref="OggVorbis_File.html">OggVorbis_File</a> *old, <ahref="OggVorbis_File.html">OggVorbis_File</a> *new);
</b></pre>
</td>
</tr>
</table>
<h3>Parameters</h3>
<dl>
<dt><i>old</i></dt>
<dd>A pointer to the OggVorbis_File structure representing the origin stream from which to transition playback.</dd>
<dt><i>new</i></dt>
<dd>A pointer to the OggVorbis_File structure representing the stream with which playback continues.</dd>
</dl>
<h3>Return Values</h3>
<blockquote>
<dl>
<dt>OV_EINVAL</dt>
<dd>crosslap called with an OggVorbis_File structure that isn't open.</dd>
<dt>OV_EFAULT</dt>
<dd>internal error; implies a library bug or external heap corruption.</dd>
<dt>OV_EREAD</dt>
<dd> A read from media returned an error.</dd>
<dt>OV_EOF</dt>
<dd>indicates stream <tt>vf2</tt> is at end of file, or that <tt>vf1</tt> is at end of file immediately after a seek (making crosslap impossible as there's no preceding decode state to crosslap).</dd>