<div dir="ltr">Hey, it does not seem to work here...<br><br>$ ./Main<br>&lt;There&#39;s a 3-second period of quiet here&gt;<br>AL lib: ALc.c:1253: exit() 1 device(s) and 1 context(s) NOT deleted<br>AL lib: alSource.c:2291: alcDestroyContext(): 1 Source(s) NOT deleted<br>

AL lib: alBuffer.c:1097: exit() 1 Buffer(s) NOT deleted<br><br>The OpenAL library compiled Ok, (proper values for the constants, after I added the #include of AL/al.h.<br><br>Any idea what else can cause the play to go wary?<br>
<br>Eyal<br><br><div class="gmail_quote">2008/11/28 Conal Elliott <span dir="ltr">&lt;<a href="mailto:conal@conal.net" target="_blank">conal@conal.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Richard,<br><br>It looks great, and it works for me.&nbsp; (Thanks to your OpenAL help on #haskell.)&nbsp; I suggest making all the Source fields be behaviors rather than events.&nbsp; From the names of these fields, I&#39;d guess they&#39;re time-varying quantities, so Behavior will be the most convenient/natural way of creating them.&nbsp; The mkUpdater function from FRP.Reactive.LegacyAdapters has smarts to invoke your OpenAL/ALUT setters only when things are changing, as is done with OpenGL in reactive-fieldtrip.<br>


<br>At some point, I&#39;d love to use your library in reactive-fieldtrip.<br><br>Thanks for sharing.&nbsp; And please keep us updated on your progress.<br><font color="#888888"><br>&nbsp; - Conal</font><div><div></div><div>
<br><br><div class="gmail_quote">On Thu, Nov 27, 2008 at 4:35 PM, Richard Smith <span dir="ltr">&lt;<a href="mailto:richard@metafoo.co.uk" target="_blank">richard@metafoo.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello list,<br>
<br>
I&#39;m working on a reactive adapter for OpenAL, allowing sounds to be<br>
generated and played as Behaviour Double. It&#39;s a little slow, but working.<br>
You can get the source from <a href="http://metafoo.co.uk/darcs/resound" target="_blank">http://metafoo.co.uk/darcs/resound</a><br>
<br>
Comments, constructive criticism and especially patches welcomed :)<br>
<br>
Thanks,<br>
Richard (IRC:lilac)<br>
<br>
_______________________________________________<br>
Reactive mailing list<br>
<a href="mailto:Reactive@haskell.org" target="_blank">Reactive@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/reactive" target="_blank">http://www.haskell.org/mailman/listinfo/reactive</a><br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
Reactive mailing list<br>
<a href="mailto:Reactive@haskell.org" target="_blank">Reactive@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/reactive" target="_blank">http://www.haskell.org/mailman/listinfo/reactive</a><br>
<br></blockquote></div><br></div>