<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 8 December 2013 16:57, <span dir="ltr"><<a href="mailto:dave@661.org" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=dave@661.org&cc=&bcc=&su=&body=','_blank');return false;">dave@661.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I can now load and play AIFF, WAV, and OGG files using libsndfile and<br>
libao. Now I'm moving on to loading and playing files embedded in an IFF<br>
file. This is presenting a problem. Playing an AIFF embedded in an IFF<br>
works fine. Playing an OGG embedded in the same IFF fails.<br>
Specifically, it appears that sf_open_fd() can't figure out what it's<br>
being told to load. Except for extra code to tell the player function<br>
what offset to start at, the player function in the IFF-embedded player<br>
program is functionally identical to the one in the standalone player<br>
program.<br>
<br>
I have the test code in a Github repo at<br>
<a href="https://github.com/DavidGriffith/blorbsnd" target="_blank">https://github.com/DavidGriffith/blorbsnd</a>. Would someone please help me<br>
out?<br></blockquote><div><br></div><div>which of those files contains the non-working code?</div><div><br></div><div>Conrad. </div></div></div></div>