Hi,<br>
I am devloping a basic ogg player. I have taken help from this turorial:<br>
<a href="http://www.devmaster.net/articles/openal-tutorials/lesson8.php">http://www.devmaster.net/articles/openal-tutorials/lesson8.php</a><br>
Thanks to jesse.<br>
<br>
It is using openAL and ogg sdk. I am able to compile and execute this
sample perfactly fine. And ogg file on disk is playing perfactly fine.
This tutorial is using 2 buffers for streaming.<br>
<br>
My requirement is to play file through URL like <font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;"><a href="http://mp3stream.wfmu.org:8008/wfmu.ogg" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mp3stream.wfmu.org:8008/wfmu.ogg</a>. </span></font><span>But when I am trying to do that fopen is failing in following code.<br>if(!(oggFile = fopen(path.c_str(), &quot;rb&quot;)))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw string(&quot;Could not open Ogg file.&quot;);
<br><br>As fopen gives handel for files which are on disk only.<br><br>So can anybody help me How to play a file using URL in windows?&nbsp; Any code snippet/tutorial would be highly appriciated .<br>
Is this tutorial works fine to play ogg streams through URL ?<br><br><br>Thanks,<br>Tapesh.<br></span>
<pre class="code"><br></pre>
<br>