<p dir="ltr">Hi,</p>
<p dir="ltr">I do keep checking for errors - a habit picked up with OpenGL development. ;) There are no errors.</p>
<p dir="ltr">The high number of buffers is my "fault" since I create one for each Vorbis audio packet, queue it and once it's played out, unqueue it and destroy it. There is no pooling, it was simpler to integrate Ryan Gordon's TheoraPlay this way.</p>
<p dir="ltr">Then we're in luck, because it's a Linux port. :) I'll contact you with the details off-list.</p>
<p dir="ltr">Thanks!</p>
<p dir="ltr">Leszek</p>
<div class="gmail_quote">On 7 Oct 2014 08:08, "Chris Robinson" <<a href="mailto:chris.kcat@gmail.com">chris.kcat@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 10/06/2014 05:53 AM, Leszek Godlewski wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey,<br>
<br>
So I just checked – both sources keep incrementing their offsets and<br>
rotating their buffers. There's nothing suspicious I can see in their<br>
states. [...]<br>
</blockquote>
<br>
The next thing to check is if you're getting any AL errors (from alGetError). Since you say it works when both streams have the same format, but one goes silent if they're different, I'd check if maybe the stereo stream is getting confused from the other having a different format.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
AL_BUFFERS_PROCESSED is 0 because the custom mixer uses byte-tight<br>
quadruple buffering and I just caught it in the middle of swapping.<br>
</blockquote>
<br>
What do you mean by 'byte-tight'? I notice too the 5.1 stream has 148 buffers queued with 106 processed, which is quite a lot (though that's not inherently a problem, it just looks a bit weird).<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Or is anyone willing to have a look at the case in point in exchange for a<br>
Steam key maybe? :)<br>
</blockquote>
<br>
I could, although my main development system is Linux. If it's a Windows app, I'd have to run it under Wine to get useful info, which may or may not work.<br>
______________________________<u></u>_________________<br>
openal mailing list<br>
<a href="mailto:openal@openal.org" target="_blank">openal@openal.org</a><br>
<a href="http://openal.org/mailman/listinfo/openal" target="_blank">http://openal.org/mailman/<u></u>listinfo/openal</a><br>
</blockquote></div>