<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-14242</id>
	<title>Nabble - OpenAL - Dev</title>
	<updated>2009-11-10T16:56:21Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/OpenAL---Dev-f14242.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL---Dev-f14242.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26294313</id>
	<title>Re: Pulse capture (was Re: OpenAL Soft 1.10.622 isreleased!)</title>
	<published>2009-11-10T16:56:21Z</published>
	<updated>2009-11-10T16:56:21Z</updated>
	<author>
		<name>Mike Dickson-5</name>
	</author>
	<content type="html">The gstreamer pulseaudio src &amp;quot;plugin&amp;quot; captures audio fine. &amp;nbsp;So there
&lt;br&gt;must be some setup nuance required. &amp;nbsp;I'll have a look at the pulsesrc
&lt;br&gt;gstreamer piece and see how it does it.
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;On Tue, 2009-11-10 at 18:16 -0600, Mike Dickson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Looking for one. &amp;nbsp;I'll check that next. I think gstreamer has a pulse
&lt;br&gt;&amp;gt; src module.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So taking a seperate tack, is it possible to use the config file to use
&lt;br&gt;&amp;gt; alsa for capture and pulseaudio for playback? &amp;nbsp;How would that be set up?
&lt;br&gt;&amp;gt; The pulseaudio alsa capture module does seem to work...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Mike
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Tue, 2009-11-10 at 16:05 -0800, Chris Robinson wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Tuesday 10 November 2009 12:49:33 pm Mike Dickson wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Using the test capture client source I've tracked this down to a hang in
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; opening the capture device. &amp;nbsp;The client opens the output device find and
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; then opens the capture device. It hangs in pulse_open at line 391 at the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; call to ppa_threaded_mainloop_wait:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ...
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I'm a little confused by one thing.. &amp;nbsp;Doesn't the call to set the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; state_callback need to go before the polling loop? &amp;nbsp;I'm hesitant to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; start tinkering in here since this code is shared with the code that
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; opens the output device and that *is* working fine..
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; There's a call to ppa_context_set_state_callback before it attempts a 
&lt;br&gt;&amp;gt; &amp;gt; connection. The one that happens afterward is to set a different callback 
&lt;br&gt;&amp;gt; &amp;gt; which watches for context failures (eg. from the server being killed).
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; If it hangs on ppa_threaded_mainloop_wait, that likely means the context isn't 
&lt;br&gt;&amp;gt; &amp;gt; fully connecting or failing, for some reason. Does pulseaudio recording work 
&lt;br&gt;&amp;gt; &amp;gt; with other apps?
&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; Openal-devel mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26294313&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Openal-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26294313&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26294313&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26294313.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26294120</id>
	<title>Re: Pulse capture</title>
	<published>2009-11-10T16:37:21Z</published>
	<updated>2009-11-10T16:37:21Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">On Tuesday 10 November 2009 4:16:45 pm Mike Dickson wrote:
&lt;br&gt;&amp;gt; Looking for one. &amp;nbsp;I'll check that next. I think gstreamer has a pulse
&lt;br&gt;&amp;gt; src module.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So taking a seperate tack, is it possible to use the config file to use
&lt;br&gt;&amp;gt; alsa for capture and pulseaudio for playback? &amp;nbsp;How would that be set up?
&lt;br&gt;&amp;gt; The pulseaudio alsa capture module does seem to work...
&lt;br&gt;&lt;br&gt;There isn't a way to default to alsa for capture and pulseaudio for playback. 
&lt;br&gt;But you can configure alsa to use any capture device you want, by setting:
&lt;br&gt;[alsa]
&lt;br&gt;capture = &amp;lt;devicename&amp;gt;
&lt;br&gt;in ~/.alsoftrc. You can then configure the app to use &amp;quot;ALSA Capture on 
&lt;br&gt;default&amp;quot;.
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26294120&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26294120.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26293893</id>
	<title>Re: Pulse capture (was Re: OpenAL Soft 1.10.622 isreleased!)</title>
	<published>2009-11-10T16:16:45Z</published>
	<updated>2009-11-10T16:16:45Z</updated>
	<author>
		<name>Mike Dickson-5</name>
	</author>
	<content type="html">Looking for one. &amp;nbsp;I'll check that next. I think gstreamer has a pulse
&lt;br&gt;src module.
&lt;br&gt;&lt;br&gt;So taking a seperate tack, is it possible to use the config file to use
&lt;br&gt;alsa for capture and pulseaudio for playback? &amp;nbsp;How would that be set up?
&lt;br&gt;The pulseaudio alsa capture module does seem to work...
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;On Tue, 2009-11-10 at 16:05 -0800, Chris Robinson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tuesday 10 November 2009 12:49:33 pm Mike Dickson wrote:
&lt;br&gt;&amp;gt; &amp;gt; Using the test capture client source I've tracked this down to a hang in
&lt;br&gt;&amp;gt; &amp;gt; opening the capture device. &amp;nbsp;The client opens the output device find and
&lt;br&gt;&amp;gt; &amp;gt; then opens the capture device. It hangs in pulse_open at line 391 at the
&lt;br&gt;&amp;gt; &amp;gt; call to ppa_threaded_mainloop_wait:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I'm a little confused by one thing.. &amp;nbsp;Doesn't the call to set the
&lt;br&gt;&amp;gt; &amp;gt; state_callback need to go before the polling loop? &amp;nbsp;I'm hesitant to
&lt;br&gt;&amp;gt; &amp;gt; start tinkering in here since this code is shared with the code that
&lt;br&gt;&amp;gt; &amp;gt; opens the output device and that *is* working fine..
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There's a call to ppa_context_set_state_callback before it attempts a 
&lt;br&gt;&amp;gt; connection. The one that happens afterward is to set a different callback 
&lt;br&gt;&amp;gt; which watches for context failures (eg. from the server being killed).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If it hangs on ppa_threaded_mainloop_wait, that likely means the context isn't 
&lt;br&gt;&amp;gt; fully connecting or failing, for some reason. Does pulseaudio recording work 
&lt;br&gt;&amp;gt; with other apps?
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Openal-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26293893&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26293893&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26293893.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26293780</id>
	<title>Re: Pulse capture (was Re: OpenAL Soft 1.10.622 isreleased!)</title>
	<published>2009-11-10T16:05:51Z</published>
	<updated>2009-11-10T16:05:51Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">On Tuesday 10 November 2009 12:49:33 pm Mike Dickson wrote:
&lt;br&gt;&amp;gt; Using the test capture client source I've tracked this down to a hang in
&lt;br&gt;&amp;gt; opening the capture device. &amp;nbsp;The client opens the output device find and
&lt;br&gt;&amp;gt; then opens the capture device. It hangs in pulse_open at line 391 at the
&lt;br&gt;&amp;gt; call to ppa_threaded_mainloop_wait:
&lt;br&gt;&amp;gt; 
&lt;br&gt;...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm a little confused by one thing.. &amp;nbsp;Doesn't the call to set the
&lt;br&gt;&amp;gt; state_callback need to go before the polling loop? &amp;nbsp;I'm hesitant to
&lt;br&gt;&amp;gt; start tinkering in here since this code is shared with the code that
&lt;br&gt;&amp;gt; opens the output device and that *is* working fine..
&lt;br&gt;&lt;br&gt;There's a call to ppa_context_set_state_callback before it attempts a 
&lt;br&gt;connection. The one that happens afterward is to set a different callback 
&lt;br&gt;which watches for context failures (eg. from the server being killed).
&lt;br&gt;&lt;br&gt;If it hangs on ppa_threaded_mainloop_wait, that likely means the context isn't 
&lt;br&gt;fully connecting or failing, for some reason. Does pulseaudio recording work 
&lt;br&gt;with other apps?
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26293780&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26293780.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26293679</id>
	<title>Re: OpenAL SDK header compatibility</title>
	<published>2009-11-10T15:54:57Z</published>
	<updated>2009-11-10T15:54:57Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">On Tuesday 10 November 2009 7:42:41 am Daniel PEACOCK wrote:
&lt;br&gt;&amp;gt; Hi Chris,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've made a note here. &amp;nbsp; Next time we refresh the SDK we'll roll this
&lt;br&gt;&amp;gt; change in.
&lt;br&gt;&lt;br&gt;Cool, thanks. :)
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26293679&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-SDK-header-compatibility-tp26283279p26293679.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26290950</id>
	<title>Re: Pulse capture (was Re: OpenAL Soft 1.10.622 isreleased!)</title>
	<published>2009-11-10T12:49:33Z</published>
	<updated>2009-11-10T12:49:33Z</updated>
	<author>
		<name>Mike Dickson-5</name>
	</author>
	<content type="html">Using the test capture client source I've tracked this down to a hang in
&lt;br&gt;opening the capture device. &amp;nbsp;The client opens the output device find and
&lt;br&gt;then opens the capture device. It hangs in pulse_open at line 391 at the
&lt;br&gt;call to ppa_threaded_mainloop_wait:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; while((state=ppa_context_get_state(data-&amp;gt;context)) != PA_CONTEXT_READY)
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(!PA_CONTEXT_IS_GOOD(state))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AL_PRINT(&amp;quot;Context did not get ready: %s\n&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ppa_strerror(ppa_context_errno(data-&amp;gt;context)));
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ppa_context_unref(data-&amp;gt;context);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; data-&amp;gt;context = NULL;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ppa_threaded_mainloop_unlock(data-&amp;gt;loop);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; goto out;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ppa_threaded_mainloop_wait(data-&amp;gt;loop);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ppa_threaded_mainloop_accept(data-&amp;gt;loop);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; ppa_context_set_state_callback(data-&amp;gt;context, context_state_callback2, device);
&lt;br&gt;&lt;br&gt;&lt;br&gt;I'm a little confused by one thing.. &amp;nbsp;Doesn't the call to set the
&lt;br&gt;state_callback need to go before the polling loop? &amp;nbsp;I'm hesitant to
&lt;br&gt;start tinkering in here since this code is shared with the code that
&lt;br&gt;opens the output device and that *is* working fine..
&lt;br&gt;&lt;br&gt;Thoughts?
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;On Mon, 2009-11-09 at 19:57 -0500, Jason Daly wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Chris Robinson wrote: 
&lt;br&gt;&amp;gt; &amp;gt; On Monday 09 November 2009 5:01:46 am Mike Dickson wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Great release!
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; The pulseaudio support for output is working great for the apps I've
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; tried. &amp;nbsp;Much better performance overall than using the ALSA emulation.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I do still have problems with pulseaudio capture, specifically with
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Vivox/secondlife. &amp;nbsp;I'd like to help with that if possible but I'm new to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; the OpenAL sources so I hope an occasional question to the list is fine.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; There shouldn't be any issue about asking here. Thanks for wanting to look 
&lt;br&gt;&amp;gt; &amp;gt; into it. :)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No problem at all. &amp;nbsp;That's one reason why the openal-devel list
&lt;br&gt;&amp;gt; exists &amp;nbsp;:-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --&amp;quot;J&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Openal-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26290950&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26290950&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26290950.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26287251</id>
	<title>Re: Pulse capture (was Re: OpenAL Soft 1.10.622isreleased!)</title>
	<published>2009-11-10T09:03:42Z</published>
	<updated>2009-11-10T09:03:42Z</updated>
	<author>
		<name>Mike Dickson-5</name>
	</author>
	<content type="html">Ok, at least with a quick run I've verified that pulse capture isn't
&lt;br&gt;working. &amp;nbsp;If I use the ALSA driver (which will use the ALSA/pulse
&lt;br&gt;adapter) capture works (albeit time compressed, I sound like Mickey
&lt;br&gt;Mouse). &amp;nbsp;With native pulse capture no playback and it loops trying to
&lt;br&gt;play back endlessly.
&lt;br&gt;&lt;br&gt;I'll start with this and then move on to the Vivox client. &amp;nbsp;Thanks for
&lt;br&gt;this, it will be a big help.
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;On Tue, 2009-11-10 at 11:08 -0500, Jason Daly wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Mike Dickson wrote:
&lt;br&gt;&amp;gt; &amp;gt; Can someone point me to a simple capture client w/source that uses
&lt;br&gt;&amp;gt; &amp;gt; OpenAL-Soft for the capture? &amp;nbsp;Starting with Vivox SLVoice directly is
&lt;br&gt;&amp;gt; &amp;gt; going to be a pain since it's binary only..
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here's a really simple test app that I wrote. &amp;nbsp;It captures audio for 
&lt;br&gt;&amp;gt; three seconds, pauses, then captures three more seconds. &amp;nbsp;At the end it 
&lt;br&gt;&amp;gt; plays back what was captured.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; A lot of the values are hard-coded, so you may need to tweak it to get 
&lt;br&gt;&amp;gt; what you're looking for.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --&amp;quot;J&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287251&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26287251.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26286483</id>
	<title>Re: Pulse capture (was Re: OpenAL Soft 1.10.622isreleased!)</title>
	<published>2009-11-10T08:22:34Z</published>
	<updated>2009-11-10T08:22:34Z</updated>
	<author>
		<name>Mike Dickson-5</name>
	</author>
	<content type="html">Thanks so much! &amp;nbsp;This should get me pointed in the right direction.
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;On Tue, 2009-11-10 at 11:08 -0500, Jason Daly wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Mike Dickson wrote:
&lt;br&gt;&amp;gt; &amp;gt; Can someone point me to a simple capture client w/source that uses
&lt;br&gt;&amp;gt; &amp;gt; OpenAL-Soft for the capture? &amp;nbsp;Starting with Vivox SLVoice directly is
&lt;br&gt;&amp;gt; &amp;gt; going to be a pain since it's binary only..
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here's a really simple test app that I wrote. &amp;nbsp;It captures audio for 
&lt;br&gt;&amp;gt; three seconds, pauses, then captures three more seconds. &amp;nbsp;At the end it 
&lt;br&gt;&amp;gt; plays back what was captured.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; A lot of the values are hard-coded, so you may need to tweak it to get 
&lt;br&gt;&amp;gt; what you're looking for.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --&amp;quot;J&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26286483&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26286483.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26286260</id>
	<title>Re: Pulse capture (was Re: OpenAL Soft 1.10.622isreleased!)</title>
	<published>2009-11-10T08:08:25Z</published>
	<updated>2009-11-10T08:08:25Z</updated>
	<author>
		<name>Jason Daly</name>
	</author>
	<content type="html">Mike Dickson wrote:
&lt;br&gt;&amp;gt; Can someone point me to a simple capture client w/source that uses
&lt;br&gt;&amp;gt; OpenAL-Soft for the capture? &amp;nbsp;Starting with Vivox SLVoice directly is
&lt;br&gt;&amp;gt; going to be a pain since it's binary only..
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;Here's a really simple test app that I wrote. &amp;nbsp;It captures audio for 
&lt;br&gt;three seconds, pauses, then captures three more seconds. &amp;nbsp;At the end it 
&lt;br&gt;plays back what was captured.
&lt;br&gt;&lt;br&gt;A lot of the values are hard-coded, so you may need to tweak it to get 
&lt;br&gt;what you're looking for.
&lt;br&gt;&lt;br&gt;--&amp;quot;J&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;br&gt;#include &amp;lt;stdio.h&amp;gt;
&lt;br&gt;#include &amp;lt;stdlib.h&amp;gt;
&lt;br&gt;#include &amp;lt;string.h&amp;gt;
&lt;br&gt;#include &amp;lt;AL/al.h&amp;gt;
&lt;br&gt;#include &amp;lt;AL/alc.h&amp;gt;
&lt;br&gt;#include &amp;lt;sys/time.h&amp;gt;
&lt;br&gt;&lt;br&gt;int main(void)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp;const ALCchar * &amp;nbsp; devices;
&lt;br&gt;&amp;nbsp; &amp;nbsp;ALCchar * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ptr;
&lt;br&gt;&amp;nbsp; &amp;nbsp;ALCdevice * &amp;nbsp; &amp;nbsp; &amp;nbsp; mainDev;
&lt;br&gt;&amp;nbsp; &amp;nbsp;ALCcontext * &amp;nbsp; &amp;nbsp; &amp;nbsp;mainContext;
&lt;br&gt;&amp;nbsp; &amp;nbsp;ALCdevice * &amp;nbsp; &amp;nbsp; &amp;nbsp; captureDev;
&lt;br&gt;&amp;nbsp; &amp;nbsp;ALubyte &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; captureBuffer[655360];
&lt;br&gt;&amp;nbsp; &amp;nbsp;ALubyte &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *captureBufPtr;
&lt;br&gt;&amp;nbsp; &amp;nbsp;ALint &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; samplesAvailable;
&lt;br&gt;&amp;nbsp; &amp;nbsp;ALint &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; samplesCaptured;
&lt;br&gt;&amp;nbsp; &amp;nbsp;time_t &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;currentTime;
&lt;br&gt;&amp;nbsp; &amp;nbsp;time_t &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lastTime;
&lt;br&gt;&amp;nbsp; &amp;nbsp;ALuint &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;buffer;
&lt;br&gt;&amp;nbsp; &amp;nbsp;ALuint &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;source;
&lt;br&gt;&amp;nbsp; &amp;nbsp;ALint &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; playState;
&lt;br&gt;&amp;nbsp; &amp;nbsp;int &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Print the list of capture devices
&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot;Available playback devices:\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;devices = alcGetString(NULL, ALC_DEVICE_SPECIFIER);
&lt;br&gt;&amp;nbsp; &amp;nbsp;ptr = devices;
&lt;br&gt;&amp;nbsp; &amp;nbsp;while (ptr[0] != NULL)
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&amp;quot; &amp;nbsp; %s\n&amp;quot;, ptr);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ptr += strlen(ptr) + 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Open a playback device and create a context first
&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot;Opening playback device:\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;mainDev = alcOpenDevice(NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (mainDev == NULL)
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&amp;quot;Unable to open playback device!\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; exit(1);
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;devices = alcGetString(mainDev, ALC_DEVICE_SPECIFIER);
&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot; &amp;nbsp; opened device '%s'\n&amp;quot;, devices);
&lt;br&gt;&amp;nbsp; &amp;nbsp;mainContext = alcCreateContext(mainDev, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (mainContext == NULL)
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&amp;quot;Unable to create playback context!\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; exit(1);
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot; &amp;nbsp; created playback context\n&amp;quot;);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Make the playback context current
&lt;br&gt;&amp;nbsp; &amp;nbsp;alcMakeContextCurrent(mainContext);
&lt;br&gt;&amp;nbsp; &amp;nbsp;alcProcessContext(mainContext);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Print the list of capture devices
&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot;Available capture devices:\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;devices = alcGetString(NULL, ALC_CAPTURE_DEVICE_SPECIFIER);
&lt;br&gt;&amp;nbsp; &amp;nbsp;ptr = devices;
&lt;br&gt;&amp;nbsp; &amp;nbsp;while (ptr[0] != NULL)
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&amp;quot; &amp;nbsp; %s\n&amp;quot;, ptr);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ptr += strlen(ptr) + 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Open the default device
&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot;Opening capture device:\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;captureDev = alcCaptureOpenDevice(NULL, 8000, AL_FORMAT_MONO16, 800);
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (captureDev == NULL)
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&amp;quot; &amp;nbsp; Unable to open device!\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; exit(1);
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;devices = alcGetString(captureDev, ALC_CAPTURE_DEVICE_SPECIFIER);
&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot; &amp;nbsp; opened device %s\n&amp;quot;, devices);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Wait for three seconds to prompt the user
&lt;br&gt;&amp;nbsp; &amp;nbsp;for (i = 3; i &amp;gt; 0; i--)
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&amp;quot;Starting capture in %d...\r&amp;quot;, i);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; fflush(stdout);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lastTime = time(NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; currentTime = lastTime;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; while (currentTime == lastTime)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;currentTime = time(NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;usleep(100000);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot;Starting capture NOW!\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;fflush(stdout);
&lt;br&gt;&amp;nbsp; &amp;nbsp;lastTime = currentTime;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Capture (roughly) five seconds of audio
&lt;br&gt;&amp;nbsp; &amp;nbsp;alcCaptureStart(captureDev);
&lt;br&gt;&amp;nbsp; &amp;nbsp;samplesCaptured = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp;captureBufPtr = captureBuffer;
&lt;br&gt;&amp;nbsp; &amp;nbsp;while (currentTime &amp;lt; (lastTime + 5))
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Get the number of samples available
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; alcGetIntegerv(captureDev, ALC_CAPTURE_SAMPLES, 1, &amp;samplesAvailable);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Copy the samples to our capture buffer
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if (samplesAvailable &amp;gt; 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;alcCaptureSamples(captureDev, captureBufPtr, samplesAvailable);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;samplesCaptured += samplesAvailable;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&amp;quot;Captured %d samples (adding %d)\r&amp;quot;, samplesCaptured,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; samplesAvailable);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fflush(stdout);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Advance the buffer (two bytes per sample * number of samples)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;captureBufPtr += samplesAvailable * 2;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Wait for a bit
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; usleep(10000);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Update the clock
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; currentTime = time(NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot;\nPausing capture.\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;alcCaptureStop(captureDev);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Wait for three seconds to prompt the user
&lt;br&gt;&amp;nbsp; &amp;nbsp;for (i = 3; i &amp;gt; 0; i--)
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&amp;quot;Resuming capture in %d...\r&amp;quot;, i);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; fflush(stdout);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lastTime = time(NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; currentTime = lastTime;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; while (currentTime == lastTime)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;currentTime = time(NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;usleep(100000);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot;Resuming capture NOW!\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;fflush(stdout);
&lt;br&gt;&amp;nbsp; &amp;nbsp;lastTime = currentTime;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Capture (roughly) five seconds of audio
&lt;br&gt;&amp;nbsp; &amp;nbsp;alcCaptureStart(captureDev);
&lt;br&gt;&amp;nbsp; &amp;nbsp;while (currentTime &amp;lt; (lastTime + 5))
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Get the number of samples available
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; alcGetIntegerv(captureDev, ALC_CAPTURE_SAMPLES, 1, &amp;samplesAvailable);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Copy the samples to our capture buffer
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if (samplesAvailable &amp;gt; 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;alcCaptureSamples(captureDev, captureBufPtr, samplesAvailable);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;samplesCaptured += samplesAvailable;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&amp;quot;Captured %d samples (adding %d)\r&amp;quot;, samplesCaptured,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; samplesAvailable);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fflush(stdout);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Advance the buffer (two bytes per sample * number of samples)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;captureBufPtr += samplesAvailable * 2;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Wait for a bit
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; usleep(10000);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; // Update the clock
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; currentTime = time(NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot;\nDone capturing.\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;alcCaptureStop(captureDev);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Play back the captured data
&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot;Starting playback...\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;fflush(stdout);
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp;// Generate an OpenAL buffer for the captured data
&lt;br&gt;&amp;nbsp; &amp;nbsp;alGenBuffers(1, &amp;buffer);
&lt;br&gt;&amp;nbsp; &amp;nbsp;alGenSources(1, &amp;source);
&lt;br&gt;&amp;nbsp; &amp;nbsp;alBufferData(buffer, AL_FORMAT_MONO16, captureBuffer,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; samplesCaptured*2, 22050);
&lt;br&gt;&amp;nbsp; &amp;nbsp;alSourcei(source, AL_BUFFER, buffer);
&lt;br&gt;&amp;nbsp; &amp;nbsp;alSourcePlay(source);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Wait for the source to stop playing
&lt;br&gt;&amp;nbsp; &amp;nbsp;playState = AL_PLAYING;
&lt;br&gt;&amp;nbsp; &amp;nbsp;while (playState == AL_PLAYING)
&lt;br&gt;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&amp;quot; &amp;nbsp;source %d is playing...\r&amp;quot;, source);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; fflush(stdout);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; alGetSourcei(source, AL_SOURCE_STATE, &amp;playState);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; usleep(100000);
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp;printf(&amp;quot;\nDone with playback.\n&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp;fflush(stdout);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;// Shut down OpenAL
&lt;br&gt;&amp;nbsp; &amp;nbsp;alDeleteSources(1, &amp;source);
&lt;br&gt;&amp;nbsp; &amp;nbsp;alDeleteBuffers(1, &amp;buffer);
&lt;br&gt;&amp;nbsp; &amp;nbsp;alcMakeContextCurrent(NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp;alcCloseDevice(mainDev);
&lt;br&gt;&amp;nbsp; &amp;nbsp;alcCaptureCloseDevice(captureDev);
&lt;br&gt;}
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26286260&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26286260.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26285942</id>
	<title>Re: Pulse capture (was Re: OpenAL Soft 1.10.622 isreleased!)</title>
	<published>2009-11-10T07:52:14Z</published>
	<updated>2009-11-10T07:52:14Z</updated>
	<author>
		<name>Mike Dickson-5</name>
	</author>
	<content type="html">Can someone point me to a simple capture client w/source that uses
&lt;br&gt;OpenAL-Soft for the capture? &amp;nbsp;Starting with Vivox SLVoice directly is
&lt;br&gt;going to be a pain since it's binary only..
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;On Mon, 2009-11-09 at 19:57 -0500, Jason Daly wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Chris Robinson wrote: 
&lt;br&gt;&amp;gt; &amp;gt; On Monday 09 November 2009 5:01:46 am Mike Dickson wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Great release!
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; The pulseaudio support for output is working great for the apps I've
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; tried. &amp;nbsp;Much better performance overall than using the ALSA emulation.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I do still have problems with pulseaudio capture, specifically with
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Vivox/secondlife. &amp;nbsp;I'd like to help with that if possible but I'm new to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; the OpenAL sources so I hope an occasional question to the list is fine.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; There shouldn't be any issue about asking here. Thanks for wanting to look 
&lt;br&gt;&amp;gt; &amp;gt; into it. :)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No problem at all. &amp;nbsp;That's one reason why the openal-devel list
&lt;br&gt;&amp;gt; exists &amp;nbsp;:-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --&amp;quot;J&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Openal-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285942&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285942&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26285942.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26285752</id>
	<title>Re: OpenAL SDK header compatibility</title>
	<published>2009-11-10T07:42:41Z</published>
	<updated>2009-11-10T07:42:41Z</updated>
	<author>
		<name>Daniel PEACOCK</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi Chris,
&lt;br&gt;&lt;br&gt;I've made a note here. &amp;nbsp; Next time we refresh the SDK we'll roll this
&lt;br&gt;change in.
&lt;br&gt;&lt;br&gt;Dan
&lt;br&gt;Creative Labs (UK) Ltd.
&lt;br&gt;Notice
&lt;br&gt;The information in this message is confidential and may be legally
&lt;br&gt;privileged. &amp;nbsp;It is intended solely for the addressee. &amp;nbsp;Access to this
&lt;br&gt;message by anyone else is unauthorized. &amp;nbsp;If you are not the intended
&lt;br&gt;recipient, &amp;nbsp;any disclosure, &amp;nbsp;copying or distribution of the message, &amp;nbsp;or
&lt;br&gt;any action taken by you in reliance on it, &amp;nbsp;is prohibited and may be
&lt;br&gt;unlawful. &amp;nbsp;If you have received this message in error, &amp;nbsp;please delete it
&lt;br&gt;and contact the sender immediately. &amp;nbsp;Thank you.
&lt;br&gt;&lt;br&gt;Creative Labs UK Ltd company number 2658256 registered in England and Wales
&lt;br&gt;at 79 Knightsbridge, London SW1X 7RB
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285752&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openal-devel-bounces@...&lt;/a&gt; wrote on 11/10/2009 01:13:31
&lt;br&gt;PM:
&lt;br&gt;&lt;br&gt;&amp;gt; Just something of note, in case there's going to be an SDK update.
&lt;br&gt;&amp;gt; The headers
&lt;br&gt;&amp;gt; efx.h and xram.h declare their function pointer types using __cdecl, as
&lt;br&gt;&amp;gt; opposed to the more appropriate AL_APIENTRY. Under Windows these arethe
&lt;br&gt;same
&lt;br&gt;&amp;gt; thing, but that's not guaranteed for other OSs (non-Windows systems use
&lt;br&gt;the
&lt;br&gt;&amp;gt; system/compiler default calling convention). Additionally, the
&lt;br&gt;&amp;gt; __cdecl keyword
&lt;br&gt;&amp;gt; doesn't tend to be valid for non-Windows compilers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Given that OpenAL Soft supports EFX for Linux/Unix systems, it would be
&lt;br&gt;very
&lt;br&gt;&amp;gt; nice if these could be changed so developers can more easily use the
&lt;br&gt;headers
&lt;br&gt;&amp;gt; in cross-platform code.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance. :)
&lt;br&gt;&amp;gt; - Chris
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Openal-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285752&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt; ForwardSourceID:NT00076ADE
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285752&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-SDK-header-compatibility-tp26283279p26285752.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26283279</id>
	<title>OpenAL SDK header compatibility</title>
	<published>2009-11-10T05:13:31Z</published>
	<updated>2009-11-10T05:13:31Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">Just something of note, in case there's going to be an SDK update. The headers 
&lt;br&gt;efx.h and xram.h declare their function pointer types using __cdecl, as 
&lt;br&gt;opposed to the more appropriate AL_APIENTRY. Under Windows these are the same 
&lt;br&gt;thing, but that's not guaranteed for other OSs (non-Windows systems use the 
&lt;br&gt;system/compiler default calling convention). Additionally, the __cdecl keyword 
&lt;br&gt;doesn't tend to be valid for non-Windows compilers.
&lt;br&gt;&lt;br&gt;Given that OpenAL Soft supports EFX for Linux/Unix systems, it would be very 
&lt;br&gt;nice if these could be changed so developers can more easily use the headers 
&lt;br&gt;in cross-platform code.
&lt;br&gt;&lt;br&gt;Thanks in advance. :)
&lt;br&gt;- Chris
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26283279&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-SDK-header-compatibility-tp26283279p26283279.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26276633</id>
	<title>Re: Pulse capture (was Re: OpenAL Soft 1.10.622 isreleased!)</title>
	<published>2009-11-09T16:57:49Z</published>
	<updated>2009-11-09T16:57:49Z</updated>
	<author>
		<name>Jason Daly</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Chris Robinson wrote:
&lt;blockquote cite=&quot;mid:200911091533.26989.chris.kcat@gmail.com&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;On Monday 09 November 2009 5:01:46 am Mike Dickson wrote:
  &lt;/pre&gt;
  &lt;blockquote type=&quot;cite&quot;&gt;
    &lt;pre wrap=&quot;&quot;&gt;Great release!

The pulseaudio support for output is working great for the apps I've
tried.  Much better performance overall than using the ALSA emulation.
I do still have problems with pulseaudio capture, specifically with
Vivox/secondlife.  I'd like to help with that if possible but I'm new to
the OpenAL sources so I hope an occasional question to the list is fine.
    &lt;/pre&gt;
  &lt;/blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;&lt;!----&gt;
There shouldn't be any issue about asking here. Thanks for wanting to look 
into it. :)
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
No problem at all.  That's one reason why the openal-devel list exists 
:-)&lt;br&gt;
&lt;br&gt;
--&quot;J&quot;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276633&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26276633.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26276023</id>
	<title>Re: Pulse capture (was Re: OpenAL Soft 1.10.622 is released!)</title>
	<published>2009-11-09T15:50:37Z</published>
	<updated>2009-11-09T15:50:37Z</updated>
	<author>
		<name>Mike Dickson-5</name>
	</author>
	<content type="html">It's the vivox client I'm using with SecondLife at least to start.
&lt;br&gt;Behavior is similar to the pulse output stuff before the large patchset.
&lt;br&gt;It looks like it gets connected but no data. I've only just started to
&lt;br&gt;mess with it, hopefully can dig deeper tonite. &amp;nbsp;I'll follow up with
&lt;br&gt;findings then.
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;On Mon, 2009-11-09 at 15:33 -0800, Chris Robinson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Monday 09 November 2009 5:01:46 am Mike Dickson wrote:
&lt;br&gt;&amp;gt; &amp;gt; Great release!
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; The pulseaudio support for output is working great for the apps I've
&lt;br&gt;&amp;gt; &amp;gt; tried. &amp;nbsp;Much better performance overall than using the ALSA emulation.
&lt;br&gt;&amp;gt; &amp;gt; I do still have problems with pulseaudio capture, specifically with
&lt;br&gt;&amp;gt; &amp;gt; Vivox/secondlife. &amp;nbsp;I'd like to help with that if possible but I'm new to
&lt;br&gt;&amp;gt; &amp;gt; the OpenAL sources so I hope an occasional question to the list is fine.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There shouldn't be any issue about asking here. Thanks for wanting to look 
&lt;br&gt;&amp;gt; into it. :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What's the problem you're seeing with pulseaudio capture? I'm not sure if I 
&lt;br&gt;&amp;gt; have any working microphones laying around to test it myself.. need to look 
&lt;br&gt;&amp;gt; around more.
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Openal-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276023&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26276023&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26276023.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26275865</id>
	<title>Pulse capture (was Re: OpenAL Soft 1.10.622 is released!)</title>
	<published>2009-11-09T15:33:26Z</published>
	<updated>2009-11-09T15:33:26Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">On Monday 09 November 2009 5:01:46 am Mike Dickson wrote:
&lt;br&gt;&amp;gt; Great release!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The pulseaudio support for output is working great for the apps I've
&lt;br&gt;&amp;gt; tried. &amp;nbsp;Much better performance overall than using the ALSA emulation.
&lt;br&gt;&amp;gt; I do still have problems with pulseaudio capture, specifically with
&lt;br&gt;&amp;gt; Vivox/secondlife. &amp;nbsp;I'd like to help with that if possible but I'm new to
&lt;br&gt;&amp;gt; the OpenAL sources so I hope an occasional question to the list is fine.
&lt;br&gt;&lt;br&gt;There shouldn't be any issue about asking here. Thanks for wanting to look 
&lt;br&gt;into it. :)
&lt;br&gt;&lt;br&gt;What's the problem you're seeing with pulseaudio capture? I'm not sure if I 
&lt;br&gt;have any working microphones laying around to test it myself.. need to look 
&lt;br&gt;around more.
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26275865&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26275865.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26266213</id>
	<title>Re: OpenAL Soft 1.10.622 is released!</title>
	<published>2009-11-09T05:01:46Z</published>
	<updated>2009-11-09T05:01:46Z</updated>
	<author>
		<name>Mike Dickson-5</name>
	</author>
	<content type="html">Great release!
&lt;br&gt;&lt;br&gt;The pulseaudio support for output is working great for the apps I've
&lt;br&gt;tried. &amp;nbsp;Much better performance overall than using the ALSA emulation.
&lt;br&gt;I do still have problems with pulseaudio capture, specifically with
&lt;br&gt;Vivox/secondlife. &amp;nbsp;I'd like to help with that if possible but I'm new to
&lt;br&gt;the OpenAL sources so I hope an occasional question to the list is fine.
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;On Sun, 2009-11-08 at 23:46 -0800, Chris Robinson wrote:
&lt;br&gt;&amp;gt; May we forget about 1.9...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://kcat.strangesoft.net/openal.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kcat.strangesoft.net/openal.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hopefully, finally, for real, fixed the PulseAudio backend this time. Also 
&lt;br&gt;&amp;gt; fixed the OSS and Solaris backends. 7.1 output should work properly again, and 
&lt;br&gt;&amp;gt; fixed a problem/potential crash when setting an AL_EFFECT_NULL effect on an 
&lt;br&gt;&amp;gt; auxiliary slot.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26266213&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26266213.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26262488</id>
	<title>OpenAL Soft 1.10.622 is released!</title>
	<published>2009-11-08T23:46:42Z</published>
	<updated>2009-11-08T23:46:42Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">May we forget about 1.9...
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://kcat.strangesoft.net/openal.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kcat.strangesoft.net/openal.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hopefully, finally, for real, fixed the PulseAudio backend this time. Also 
&lt;br&gt;fixed the OSS and Solaris backends. 7.1 output should work properly again, and 
&lt;br&gt;fixed a problem/potential crash when setting an AL_EFFECT_NULL effect on an 
&lt;br&gt;auxiliary slot.
&lt;br&gt;&lt;br&gt;In terms of features, there's only a few. Backend libraries are only loaded 
&lt;br&gt;when they're needed now, so unused backends won't hold their shared libs in 
&lt;br&gt;memory, and devices provided by them are automatically added and removed as 
&lt;br&gt;the libs are installed and uninstalled. Additionally, multiple contexts per 
&lt;br&gt;device are now supported.
&lt;br&gt;&lt;br&gt;Given multiple contexts, it's now possible to change certain device parameters 
&lt;br&gt;on the fly. Creating a new context with certain attributes (eg. ALC_FREQUENCY, 
&lt;br&gt;and perhaps ALC_REFRESH in the future) will change the device parameters, and 
&lt;br&gt;consequently affects all contexts on the device.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Now I'll try to get back to taking care of those proposed extensions. It may 
&lt;br&gt;be possible to see alcSuspendContext/alcProcessContext properly supported, as 
&lt;br&gt;well.
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26262488&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10.622-is-released%21-tp26262488p26262488.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26122218</id>
	<title>OpenAL Soft 1.10 will be sooner than expected</title>
	<published>2009-10-29T15:48:40Z</published>
	<updated>2009-10-29T15:48:40Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">It turns out some bad issues popped up in 1.9, and I'd like to get a fixed 
&lt;br&gt;version out relatively soon. However, one of the issues is with PulseAudio not 
&lt;br&gt;playing sound. This is something I experience myself with the latest GIT 
&lt;br&gt;version of OpenAL Soft, however I'm not very familiar with Pulse, I can't find 
&lt;br&gt;a cause from reading the code and the online docs, and asking around for help 
&lt;br&gt;in #pulseaudio on FreeNode IRC didn't yield anything helpful. I don't know if 
&lt;br&gt;it's a problem with the code, or if PulseAudio is just being PulseAudio (as I 
&lt;br&gt;also have issues getting paplay to output sound, too).
&lt;br&gt;&lt;br&gt;So, if anyone reading is familiar with coding PulseAudio, it would be very 
&lt;br&gt;helpful if you could check out the latest GIT/SVN version of OpenAL Soft and 
&lt;br&gt;have a look through PulseAudio's code (in Alc/pulseaudio.c). Also, if anyone 
&lt;br&gt;/uses/ PulseAudio, checking out the latest GIT/SVN version and just seeing if 
&lt;br&gt;it woks would be helpful too (please note the PulseAudio version you use, and 
&lt;br&gt;any abnormal settings).
&lt;br&gt;&lt;br&gt;The GIT repo is here:
&lt;br&gt;git://repo.or.cz/openal-soft.git
&lt;br&gt;And the SVN repo is on Creative's server:
&lt;br&gt;svn://connect.creativelabs.com/OpenAL
&lt;br&gt;&lt;br&gt;Thanks in advance!
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26122218&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.10-will-be-sooner-than-expected-tp26122218p26122218.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26103714</id>
	<title>Re: Downloading Mac Source</title>
	<published>2009-10-28T16:05:22Z</published>
	<updated>2009-10-28T16:05:22Z</updated>
	<author>
		<name>Handyman</name>
	</author>
	<content type="html">&lt;br&gt;I don't know if the problem was ever dealt with but this :
&lt;br&gt;&lt;br&gt;svn co svn://connect.creativelabs.com/OpenAL/tags/MacOSX1-2_Spec1-1
&lt;br&gt;&lt;br&gt;still results in this:
&lt;br&gt;&lt;br&gt;svn: Can't open 'C:\WINDOWS\TEMP\report.tmp': Access is denied.
&lt;br&gt;&lt;br&gt;on my macbook...
&lt;br&gt;&lt;br&gt;- David
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Downloading-Mac-Source-tp23398691p26103714.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25979477</id>
	<title>Re: AL_EXT_source_distance_model revisit</title>
	<published>2009-10-20T10:39:59Z</published>
	<updated>2009-10-20T10:39:59Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">On Monday 19 October 2009 3:20:30 pm you wrote:
&lt;br&gt;&amp;gt; You never know how a developer will decide to use a published API :-)
&lt;br&gt;&amp;gt; So while 'normally' you probably wouldn't use these 2 mechanisms
&lt;br&gt;&amp;gt; together, almost certainly someone will, so it's important to document
&lt;br&gt;&amp;gt; the expected behavior.
&lt;br&gt;&lt;br&gt;Right. And in that case, alDistanceModel will reset every source's distance 
&lt;br&gt;model, whether one was explicitly set on it or not. It needs to reset the 
&lt;br&gt;model for generated sources to maintain backwards compatibility, and I don't 
&lt;br&gt;personally see a reason to special-case sources that had a distance model 
&lt;br&gt;explicitly set.
&lt;br&gt;&lt;br&gt;Though if people recommends otherwise, I won't complain too much. It's just an 
&lt;br&gt;extra flag per source that's set in alSourcei[v] with AL_DISTANCE_MODEL, and 
&lt;br&gt;checked in alDistanceModel.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Or perhaps another option I just thought of.. have an alEnable/alDisable 
&lt;br&gt;context state for per-source distance models. When disabled (default) the 
&lt;br&gt;context's model is used, otherwise the source's model is. Then alDistanceModel 
&lt;br&gt;has no explicit effect on source state, but the enable says which should be 
&lt;br&gt;used. Eg:
&lt;br&gt;&lt;br&gt;alSourcei(sID, AL_DISTANCE_MODEL, AL_LINEAR_DISTANCE_CLAMPED);
&lt;br&gt;alDistanceModel(AL_NONE);
&lt;br&gt;... AL_NONE is used for all sources ...
&lt;br&gt;&lt;br&gt;alEnable(AL_SOURCE_DISTANCE_MODEL);
&lt;br&gt;... now linear distance clamped is used for sID, inverse distance clamped for 
&lt;br&gt;other sources ...
&lt;br&gt;&lt;br&gt;alDisable(AL_SOURCE_DISTANCE_MODEL);
&lt;br&gt;... now AL_NONE is used for all sources ...
&lt;br&gt;&lt;br&gt;alGetSourceiv(sID, AL_DISTANCE_MODEL, &amp;val);
&lt;br&gt;... gives val == AL_LINEAR_DISTANCE_CLAMPED ...
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25979477&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AL_EXT_source_distance_model-revisit-tp25912722p25979477.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25971789</id>
	<title>Re: Get setting of Sound Blaster X-Fi Elite Pro</title>
	<published>2009-10-20T01:51:18Z</published>
	<updated>2009-10-20T01:51:18Z</updated>
	<author>
		<name>Daniel PEACOCK</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi Rosemma,
&lt;br&gt;&lt;br&gt;The APIs to set and get these properties have not been published I'm
&lt;br&gt;afraid, so it is not possible for you to control them from your own
&lt;br&gt;application.
&lt;br&gt;&lt;br&gt;Dan
&lt;br&gt;Creative Labs (UK) Ltd.
&lt;br&gt;&lt;br&gt;Notice
&lt;br&gt;The information in this message is confidential and may be legally
&lt;br&gt;privileged. &amp;nbsp;It is intended solely for the addressee. &amp;nbsp;Access to this
&lt;br&gt;message by anyone else is unauthorized. &amp;nbsp;If you are not the intended
&lt;br&gt;recipient, &amp;nbsp;any disclosure, &amp;nbsp;copying or distribution of the message, &amp;nbsp;or
&lt;br&gt;any action taken by you in reliance on it, &amp;nbsp;is prohibited and may be
&lt;br&gt;unlawful. &amp;nbsp;If you have received this message in error, &amp;nbsp;please delete it
&lt;br&gt;and contact the sender immediately. &amp;nbsp;Thank you.
&lt;br&gt;&lt;br&gt;Creative Labs UK Ltd company number 2658256 registered in England and Wales
&lt;br&gt;at 79 Knightsbridge, London SW1X 7RB
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;GARIO Rosemma &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(C.R.F.)&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;rosemma.gario@co &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;To 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nsulenti.crf.it&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25971789&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openal-devel@...&lt;/a&gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sent by: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;om&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;openal-devel-boun &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25971789&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openal-devel@...&lt;/a&gt; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25971789&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ces@...&lt;/a&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; om&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;eative.com &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cc 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Subject 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10/19/2009 04:31 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[Openal-devel] Get setting of Sound 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Blaster X-Fi Elite Pro &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Dear All,
&lt;br&gt;we have the sound blaster X-Fi Elite Pro installed on PC HP xw8600 with
&lt;br&gt;Windows XP 64 SO.
&lt;br&gt;We would get, with an our external program written in C++, the values
&lt;br&gt;visualized by Creative Console that we launch selecting from menu
&lt;br&gt;creative-&amp;gt;SoundBlaster X-fi-&amp;gt;Creative console utility. &amp;nbsp;In particular, we
&lt;br&gt;need to get the values managed by equalizer, and wave and MIDI synthesizer
&lt;br&gt;gains. We tried with OpenAl library manual but we didn’t find anything
&lt;br&gt;which describes such possibility. We don’t have a good know-how regarding
&lt;br&gt;Open Al library…
&lt;br&gt;Please Could you help us??
&lt;br&gt;Are there any class methods / functions which could allow us to get such
&lt;br&gt;values set by creative routine, and to overwrite them?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Best Regards
&lt;br&gt;Rosemma Gario
&lt;br&gt;&lt;br&gt;p.s.
&lt;br&gt;Sorry to my bad english
&lt;br&gt;&lt;br&gt;Gario Rosemma
&lt;br&gt;Physical Ergonomics
&lt;br&gt;&lt;br&gt;Tel &amp;nbsp;+39 011 9083890
&lt;br&gt;e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25971789&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rosemma.gario@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------Internet E-Mail confidentiality
&lt;br&gt;footer-------------------------------------------------
&lt;br&gt;Le informazioni contenute in questo messaggio e-mail sono destinate
&lt;br&gt;esclusivamente alla persone o enti cui è stata indirizzato e può contenere
&lt;br&gt;informazioni riservate. E’ vietato ogni &amp;nbsp;diffusione o altro utilizzo o
&lt;br&gt;azione basata sul presente messaggio da parte di persone o enti diverse dal
&lt;br&gt;destinatario, se non espressamente autorizzate dal mittente. Se avete
&lt;br&gt;ricevuto questo messaggio per errore, siete pregati di contattare
&lt;br&gt;immediatamente il mittente via e-mail e di cancellarlo da ogni vostro
&lt;br&gt;computer.
&lt;br&gt;The information transmitted in this e-mail message is intended only for the
&lt;br&gt;person or entity to which it is addressed and may contain confidential
&lt;br&gt;information.Any retransmission, dissemination or other use of, or taking of
&lt;br&gt;any action in reliance upon, this information by person or entity other
&lt;br&gt;than the intended recipient, if not clearly authorized by the sender, is
&lt;br&gt;prohibited.If you have received this communication in error, please notify
&lt;br&gt;the sender immediately by e-mail and delete the message from any computer.
&lt;br&gt;&lt;br&gt;&amp;nbsp;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25971789&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;&lt;br&gt;ForwardSourceID:NT000763C6
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25971789&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Get-setting-of-Sound-Blaster-X-Fi-Elite-Pro-tp25960492p25971789.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25960492</id>
	<title>Get setting of Sound Blaster X-Fi Elite Pro</title>
	<published>2009-10-19T08:31:47Z</published>
	<updated>2009-10-19T08:31:47Z</updated>
	<author>
		<name>GARIO Rosemma (C.R.F.)</name>
	</author>
	<content type="html">&lt;html xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:st1=&quot;urn:schemas-microsoft-com:office:smarttags&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;place&quot; /&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
st1\:*{behavior:url(#default#ieooui) }
&lt;/style&gt;
&lt;![endif]--&gt;


&lt;/head&gt;

&lt;body lang=IT link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:black'&gt;Dear All&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial'&gt;,
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;we have the sound blaster X-Fi Elite Pro installed on
PC HP xw8600 with Windows XP 64 SO.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;We would get, with an our external program written in
C++, the values visualized by Creative Console that we launch selecting from
menu creative-&amp;gt;SoundBlaster X-fi-&amp;gt;Creative console utility. &amp;nbsp;In
particular, we need to get the values managed by equalizer, and wave and &lt;st1:place w:st=&quot;on&quot;&gt;MIDI&lt;/st1:place&gt; synthesizer gains. We tried with OpenAl library
manual but we didn&amp;#8217;t find anything which describes such possibility. We
don&amp;#8217;t have a good know-how regarding Open Al library&amp;#8230;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;Please Could you help us??&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;Are there any class methods / functions which could
allow us to get such values set by &lt;font color=navy&gt;&lt;span style='color:navy'&gt;creative&lt;/span&gt;&lt;/font&gt;
routine, and to overwrite them?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;Best Regards&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;Rosemma Gario&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;p.s.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;Sorry to my bad english&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p style='margin:0in;margin-bottom:.0001pt'&gt;&lt;b&gt;&lt;font size=2 color=black face=Arial&gt;&lt;span lang=FR style='font-size:10.0pt;font-family:Arial;color:black;
font-weight:bold'&gt;Gario Rosemma&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p style='margin:0in;margin-bottom:.0001pt'&gt;&lt;font size=2 color=black face=Arial&gt;&lt;span lang=FR style='font-size:10.0pt;font-family:Arial;color:black'&gt;Physical
Ergonomics&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p style='margin:0in;margin-bottom:.0001pt'&gt;&lt;font size=2 color=&quot;#33cccc&quot; face=Arial&gt;&lt;span lang=FR style='font-size:10.0pt;font-family:Arial;color:#33CCCC'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p style='margin:0in;margin-bottom:.0001pt'&gt;&lt;font size=2 color=black face=Arial&gt;&lt;span lang=FR style='font-size:10.0pt;font-family:Arial;color:black'&gt;Tel&amp;nbsp;
+39 011 9083890&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p style='margin:0in;margin-bottom:.0001pt'&gt;&lt;font size=2 color=black face=Arial&gt;&lt;span lang=FR style='font-size:10.0pt;font-family:Arial;color:black'&gt;e-mail:
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25960492&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rosemma.gario@...&lt;/a&gt;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=1 color=silver face=Arial&gt;&lt;span style='font-size:7.5pt;
font-family:Arial;color:silver'&gt;----------Internet E-Mail confidentiality
footer-------------------------------------------------&lt;/span&gt;&lt;/font&gt;&lt;font size=1 color=silver face=Arial&gt;&lt;span style='font-size:8.0pt;font-family:Arial;
color:silver'&gt; &lt;br&gt;
&lt;/span&gt;&lt;/font&gt;&lt;font size=1 color=silver face=Arial&gt;&lt;span style='font-size:7.5pt;
font-family:Arial;color:silver'&gt;Le informazioni contenute in questo messaggio
e-mail sono destinate esclusivamente alla persone o enti cui è stata
indirizzato e può contenere informazioni riservate. E&amp;#8217; vietato ogni
&amp;nbsp;diffusione o altro utilizzo o azione basata sul presente messaggio da parte
di persone o enti diverse dal destinatario, se non espressamente autorizzate
dal mittente. Se avete ricevuto questo messaggio per errore, siete pregati di
contattare immediatamente il mittente via e-mail e di cancellarlo da ogni
vostro computer.&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=silver face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial;color:silver'&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'&gt;&lt;font size=1 color=silver face=Arial&gt;&lt;span lang=EN-GB style='font-size:7.5pt;
font-family:Arial;color:silver'&gt;The information transmitted in this e-mail
message is intended only for the person or entity to which it is addressed and
may contain confidential information.Any retransmission, dissemination or other
use of, or taking of any action in reliance upon, this information by person or
entity other than the intended recipient, if not clearly authorized by the
sender, is prohibited.If you have received this communication in error, please
notify the sender immediately by e-mail and delete the message from any computer.&lt;/span&gt;&lt;/font&gt;&lt;font color=silver&gt;&lt;span lang=EN-GB style='color:silver'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span lang=EN-US style='font-size:12.0pt'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span lang=EN-US style='font-size:
10.0pt;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25960492&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Get-setting-of-Sound-Blaster-X-Fi-Elite-Pro-tp25960492p25960492.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25920107</id>
	<title>Re: AL_EXT_source_distance_model revisit</title>
	<published>2009-10-15T22:41:17Z</published>
	<updated>2009-10-15T22:41:17Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">On Thursday 15 October 2009 11:11:24 am Bob Aron wrote:
&lt;br&gt;&amp;gt; • What happens when some of the sources are set to something other
&lt;br&gt;&amp;gt; than the default and then the application calls alDistanceModel()?
&lt;br&gt;&lt;br&gt;All existing and newly-generated sources are set to the model given to 
&lt;br&gt;alDistanceModel, regardless if anything specific was set on the source. 
&lt;br&gt;Normally an app shouldn't use alDistanceModel if it's also using 
&lt;br&gt;AL_EXT_source_distance_model (except perhaps to set a global default on 
&lt;br&gt;initialization), so I don't think it really matters. Having alDistanceModel 
&lt;br&gt;simply reset all sources seems to be the simplest method while maintaining 
&lt;br&gt;backwards compatibility with code not aware of the extension. Especially since 
&lt;br&gt;there would be no way to &amp;quot;unset&amp;quot; a specific model to make alDistanceModel 
&lt;br&gt;affect it again.
&lt;br&gt;&lt;br&gt;&amp;gt; • What is the purpose of having different distance models for each
&lt;br&gt;&amp;gt; source?
&lt;br&gt;&lt;br&gt;Different sounds may want different rolloff properties. For instance, some 
&lt;br&gt;sounds may want to follow a more natural inverse distance rolloff, while 
&lt;br&gt;others may want to use linear or a manual method to ensure reaching 0/min gain 
&lt;br&gt;at max distance (without losing EFX air absorption).
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25920107&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AL_EXT_source_distance_model-revisit-tp25912722p25920107.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25919929</id>
	<title>Re: Issues with openal-soft 1.9.563 using pulse</title>
	<published>2009-10-15T22:05:10Z</published>
	<updated>2009-10-15T22:05:10Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">On Thursday 15 October 2009 5:50:40 pm Andres Mejia wrote:
&lt;br&gt;&amp;gt; There are some issues that occur when using pulse as the backend driver for
&lt;br&gt;&amp;gt; openal. For one, an application using openal will either hang (in the case
&lt;br&gt;&amp;gt; &amp;nbsp;of mplayer) or will not have any sound (in the case of warzone2100 and
&lt;br&gt;&amp;gt; &amp;nbsp;supertuxkart).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This message appears in the terminal for each application.
&lt;br&gt;&amp;gt; AL lib: pulseaudio.c:370: tlength (14544) is not a multiple of minreq
&lt;br&gt;&amp;gt; &amp;nbsp;(4096)!
&lt;br&gt;&lt;br&gt;That message is currently harmless, though it is a less than optimal response 
&lt;br&gt;(the total buffer size isn't a multiple of the period/update size).
&lt;br&gt;&lt;br&gt;&amp;gt; Second issue is mainly with mplayer. Aside from mplayer hanging, mplayer
&lt;br&gt;&amp;gt; &amp;nbsp;also always exits with this message.
&lt;br&gt;&amp;gt; Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion
&lt;br&gt;&amp;gt; &amp;nbsp;`map-&amp;gt;l_init_called' failed!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Setting openal to not use pulse will not give these issues.
&lt;br&gt;&lt;br&gt;Can't say I've seen this, though. Unfortunately, the PulseAudio backend is not 
&lt;br&gt;that well tested.. I don't use Pulse, and I can't leave it installed because 
&lt;br&gt;it interferes with normal playback (in particular, KDE4 likes auto-starting 
&lt;br&gt;it, which makes it disable my default dmix device until I restart KDE, at 
&lt;br&gt;which point it tries to restart Pulse again, etc). And it doesn't seem to work 
&lt;br&gt;correctly even when it is installed.
&lt;br&gt;&lt;br&gt;If anyone else can test and fix it, though, I'll gladly accept patches. But as 
&lt;br&gt;it is, I can't see anything wrong. The last test I was able to do showed that 
&lt;br&gt;Pulse simply wasn't calling the write callback even though everything looked 
&lt;br&gt;to be set up as it should.
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25919929&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Issues-with-openal-soft-1.9.563-using-pulse-tp25918311p25919929.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25918311</id>
	<title>Issues with openal-soft 1.9.563 using pulse</title>
	<published>2009-10-15T17:50:40Z</published>
	<updated>2009-10-15T17:50:40Z</updated>
	<author>
		<name>Andres Mejia</name>
	</author>
	<content type="html">There are some issues that occur when using pulse as the backend driver for 
&lt;br&gt;openal. For one, an application using openal will either hang (in the case of 
&lt;br&gt;mplayer) or will not have any sound (in the case of warzone2100 and 
&lt;br&gt;supertuxkart).
&lt;br&gt;&lt;br&gt;This message appears in the terminal for each application.
&lt;br&gt;AL lib: pulseaudio.c:370: tlength (14544) is not a multiple of minreq (4096)!
&lt;br&gt;&lt;br&gt;Second issue is mainly with mplayer. Aside from mplayer hanging, mplayer also 
&lt;br&gt;always exits with this message.
&lt;br&gt;Inconsistency detected by ld.so: dl-close.c: 719: _dl_close: Assertion `map-
&lt;br&gt;&amp;gt;l_init_called' failed!
&lt;br&gt;&lt;br&gt;Setting openal to not use pulse will not give these issues.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Regards,
&lt;br&gt;Andres
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25918311&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Issues-with-openal-soft-1.9.563-using-pulse-tp25918311p25918311.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25913515</id>
	<title>Re: AL_EXT_source_distance_model revisit</title>
	<published>2009-10-15T11:11:24Z</published>
	<updated>2009-10-15T11:11:24Z</updated>
	<author>
		<name>Bob Aron</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;• What happens when some of the sources are set to something other than the default and then the application calls alDistanceModel()?&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Do all the sources then switch to the new default? including those that had been explicitly set to some 'non-default' distance model already. If not, then the source object will have to maintain state not only for which distance model it should be using, but also whether it was explicitly set.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;• What is the purpose of having different distance models for each source?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;-bob&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div&gt;&lt;div&gt;On Oct 15, 2009, at 10:21 AM, Chris Robinson wrote:&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;Poking about this one, first.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://kcat.strangesoft.net/openal-extensions/EXT_source_distance_model.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kcat.strangesoft.net/openal-extensions/EXT_source_distance_model.txt&lt;/a&gt;&lt;br&gt;&lt;br&gt;Seems to be the simplest to handle, as it just makes a given source's distance &lt;br&gt;calculation use a source property value instead of the context property value. &lt;br&gt;Any issues with it that I may have missed? If not, I can go ahead and finalize &lt;br&gt;it.&lt;br&gt;_______________________________________________&lt;br&gt;Openal-devel mailing list&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25913515&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;&lt;br&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 10px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; &quot;&gt;&lt;div&gt;&lt;font face=&quot;Lucida Grande&quot; size=&quot;3&quot; style=&quot;font: normal normal normal 11px/normal 'Lucida Grande'; &quot;&gt;____________________________________________&lt;/font&gt;&lt;br&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#FF3704&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;'Gill Sans'&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; &quot;&gt;CoreAudio Team&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;•&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(255, 55, 4); &quot;&gt;&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 10px; &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#FF3704&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;'Gill Sans'&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; &quot;&gt;Apple Inc.&lt;/span&gt;&lt;/font&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000000&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;'Gill Sans'&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; &quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#FF3704&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;'Gill Sans'&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; &quot;&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#FF3704&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;'Gill Sans'&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(255, 55, 4); &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 10px; &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#FF3704&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; face=&quot;'Gill Sans'&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; &quot;&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25913515&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;baron@...&lt;/a&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;br&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25913515&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AL_EXT_source_distance_model-revisit-tp25912722p25913515.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25912722</id>
	<title>AL_EXT_source_distance_model revisit</title>
	<published>2009-10-15T10:21:50Z</published>
	<updated>2009-10-15T10:21:50Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">Poking about this one, first.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://kcat.strangesoft.net/openal-extensions/EXT_source_distance_model.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kcat.strangesoft.net/openal-extensions/EXT_source_distance_model.txt&lt;/a&gt;&lt;br&gt;&lt;br&gt;Seems to be the simplest to handle, as it just makes a given source's distance 
&lt;br&gt;calculation use a source property value instead of the context property value. 
&lt;br&gt;Any issues with it that I may have missed? If not, I can go ahead and finalize 
&lt;br&gt;it.
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25912722&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/AL_EXT_source_distance_model-revisit-tp25912722p25912722.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25624877</id>
	<title>Re: OpenAL Soft 1.9.563 released!</title>
	<published>2009-09-26T05:38:17Z</published>
	<updated>2009-09-26T05:38:17Z</updated>
	<author>
		<name>Stephen A.</name>
	</author>
	<content type="html">Great job, as always!
&lt;br&gt;&lt;br&gt;The additional flexibility in frequencies / sample formats is very welcome.
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25624877&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.9.563-released%21-tp25624039p25624877.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25624039</id>
	<title>OpenAL Soft 1.9.563 released!</title>
	<published>2009-09-26T03:21:38Z</published>
	<updated>2009-09-26T03:21:38Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">Next release up and ready for download.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://kcat.strangesoft.net/openal.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kcat.strangesoft.net/openal.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Lots of changes in this release. They include initial support for 
&lt;br&gt;ALC_EXT_disconnect on some backends (mainly ALSA, OSS, Solaris, and the Wave 
&lt;br&gt;Writer). It can also output 32-bit float for backends that can handle it 
&lt;br&gt;(ALSA, DSound, PortAudio, and PulseAudio), and capture can take the mono and 
&lt;br&gt;stereo float formats (ALSA and PulseAudio only). The ALC_FREQUENCY context 
&lt;br&gt;attribute will now try to change the playback rate of the device, setting a 
&lt;br&gt;rate that matches as closely as possible.
&lt;br&gt;&lt;br&gt;Of important note for users that have config files, there's been some changes. 
&lt;br&gt;The backend-specific 'periods' options will no longer work.. instead, it's 
&lt;br&gt;been made a global option. Additionally, the poorly named 'refresh' option is 
&lt;br&gt;deprecated and will be removed for the next version. It's replaced by the 
&lt;br&gt;period_size option, which is the number of sample frames mixed for every sound 
&lt;br&gt;update. It is multiplied by the periods to get the full buffer size in sample 
&lt;br&gt;frames. Ie..
&lt;br&gt;&amp;nbsp; buffer_size = periods*period_size
&lt;br&gt;The old 'refresh' option is analogous to the buffer_size value, so if 
&lt;br&gt;period_size is left unset, you will get:
&lt;br&gt;&amp;nbsp; period_size = refresh/periods
&lt;br&gt;The default is 4 periods of 1K frames each.
&lt;br&gt;&lt;br&gt;Current plans for OpenAL Soft 1.10 are multiple contexts per device, and 
&lt;br&gt;hopefully finalizing the ALC_EXT_thread_local_context extension (and the 
&lt;br&gt;others; which, incidentally, is first on the agenda). I'd like to see OpenAL 
&lt;br&gt;get more modular so that multiple plugins, that use OpenAL, can operate within 
&lt;br&gt;a single program without tripping all over each other.
&lt;br&gt;&lt;br&gt;Feel free to toss questions and/or comments my way. Thanks for looking!
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25624039&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenAL-Soft-1.9.563-released%21-tp25624039p25624039.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25616702</id>
	<title>Re: ALC_ENUMERATE_ALL_EXT and pluggable sound devices</title>
	<published>2009-09-25T11:13:37Z</published>
	<updated>2009-09-25T11:13:37Z</updated>
	<author>
		<name>Guilherme Balena Versiani</name>
	</author>
	<content type="html">Chris Robinson wrote:
&lt;br&gt;&amp;gt; Also, those things I mentioned aren't merely cosmetic changes. You can't free 
&lt;br&gt;&amp;gt; and rebuild the lists for the device types that aren't being queried.. 
&lt;br&gt;&amp;gt; otherwise the application can be holding pointers that become invalid, and it 
&lt;br&gt;&amp;gt; can crash if it tries to use them. (...)
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;You were right. Sorry, I didn't understand in code what you were saying.
&lt;br&gt;By inspecting the Router code more closely, I clarified that I should
&lt;br&gt;have done what you said...
&lt;br&gt;&lt;br&gt;The only difference from what you said is that I didn't call Build*
&lt;br&gt;function from DllMain function, as by calling from there the application
&lt;br&gt;hangs on a call to alcGetString from Creative driver (I don't know why).
&lt;br&gt;I maintained the initialization of device listings and strings on
&lt;br&gt;alcGetString, alcOpenDevice and alcCaptureOpenDevice, as you can see in
&lt;br&gt;the attached patch. The most important change was to break out the
&lt;br&gt;BuildDeviceList() function into SearchImplementation(),
&lt;br&gt;BuildDeviceList(), BuildCaptureDeviceList() and BuildAllDevicesList().
&lt;br&gt;&lt;br&gt;Please check out the patch against the r1789 from Creative OpenAL
&lt;br&gt;repository for Router files.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;-- Guilherme Balena Versiani.
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25616702&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;openal-r1789-pluggable-listing.patch.gz&lt;/strong&gt; (8K) &lt;a href=&quot;http://old.nabble.com/attachment/25616702/0/openal-r1789-pluggable-listing.patch.gz&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ALC_ENUMERATE_ALL_EXT-and-pluggable-sound-devices-tp25478158p25616702.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25601995</id>
	<title>Re: ALC_ENUMERATE_ALL_EXT and pluggable sound devices</title>
	<published>2009-09-24T13:18:28Z</published>
	<updated>2009-09-24T13:18:28Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">On Thursday 24 September 2009 12:43:17 pm Guilherme Balena Versiani wrote:
&lt;br&gt;&amp;gt; &amp;gt; First is (obviously) to make sure you don't leak the previous strings
&lt;br&gt;&amp;gt; &amp;gt; (change the malloc calls to realloc, or free the old pointers first).
&lt;br&gt;&amp;gt; &amp;gt; Also be careful that querying the default devices will also trigger
&lt;br&gt;&amp;gt; &amp;gt; rebuilding the list. (...)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I take care of this. But I didn't make any cosmetic changes like you
&lt;br&gt;&amp;gt; mentioned, breaking up *BuildDeviceList* function, as my work is just to
&lt;br&gt;&amp;gt; put it working and not maintain the code... After you validate that this
&lt;br&gt;&amp;gt; code is fine, and if really want that, I send you another patch.
&lt;br&gt;&lt;br&gt;Just to clarify, I'm not the one that maintains the router. That would be 
&lt;br&gt;Daniel Peacock.
&lt;br&gt;&lt;br&gt;Also, those things I mentioned aren't merely cosmetic changes. You can't free 
&lt;br&gt;and rebuild the lists for the device types that aren't being queried.. 
&lt;br&gt;otherwise the application can be holding pointers that become invalid, and it 
&lt;br&gt;can crash if it tries to use them. Eg..
&lt;br&gt;&lt;br&gt;const char *caplist = alcGetString(NULL, ALC_CAPTURE_DEVICE_SPECIFIER);
&lt;br&gt;const char *devlist = alcGetString(NULL, ALC_DEVICE_SPECIFIER);
&lt;br&gt;&lt;br&gt;while(*devlist) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; printf(&amp;quot;%s\n&amp;quot;, devlist);
&lt;br&gt;&amp;nbsp; &amp;nbsp; devlist += strlen(devlist)+1;
&lt;br&gt;}
&lt;br&gt;while(*caplist) { // crash; the capture device list was freed and allocated
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // somewhere else during the ALC_DEVICE_SPECIFIER query
&lt;br&gt;&amp;nbsp; &amp;nbsp; printf(&amp;quot;%s\n&amp;quot;, caplist);
&lt;br&gt;&amp;nbsp; &amp;nbsp; caplist += strlen(caplist)+1;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;Only the list being queried should be rebuilt. It's the same issue with 
&lt;br&gt;querying the default device.. only the default device string should be redone, 
&lt;br&gt;otherwise the other strings and lists the app is holding become invalid and 
&lt;br&gt;will crash when used.
&lt;br&gt;&lt;br&gt;&amp;gt; What I done:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; - In the start of *BuildDeviceList* there were a clause verifying
&lt;br&gt;&amp;gt; first if the global variables was initialized. I just cleaned up them
&lt;br&gt;&amp;gt; using free() and set them to NULL: *g_pDeviceList*,
&lt;br&gt;&amp;gt; *g_pCaptureDeviceList*, and *g_pAllDevicesList*, and force their
&lt;br&gt;&amp;gt; initialization every time *BuildDeviceList* is called.
&lt;br&gt;&lt;br&gt;You need to take care of the default device strings, too. Otherwise they're 
&lt;br&gt;leaked when FindDevice allocates new memory for them.
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25601995&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ALC_ENUMERATE_ALL_EXT-and-pluggable-sound-devices-tp25478158p25601995.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25601476</id>
	<title>Re: ALC_ENUMERATE_ALL_EXT and pluggable sound devices</title>
	<published>2009-09-24T12:43:17Z</published>
	<updated>2009-09-24T12:43:17Z</updated>
	<author>
		<name>Guilherme Balena Versiani</name>
	</author>
	<content type="html">Chris Robinson wrote:
&lt;br&gt;&amp;gt; I'm not too sure if the router code on SVN is still up to date or not. I 
&lt;br&gt;&amp;gt; *think* I read it was, or at least wasn't changed significantly, but that was 
&lt;br&gt;&amp;gt; a while ago. I know the wrap_oal driver code isn't up-to-date.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;Well, then I am using the last revision at Creative repository (*r1789*).
&lt;br&gt;&lt;br&gt;&amp;gt; If you're going to modify the router code on SVN, there's some things you need 
&lt;br&gt;&amp;gt; to be very careful of. These things bit me pretty hard when I was implementing 
&lt;br&gt;&amp;gt; it for OpenAL Soft.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; First is (obviously) to make sure you don't leak the previous strings (change 
&lt;br&gt;&amp;gt; the malloc calls to realloc, or free the old pointers first). Also be careful 
&lt;br&gt;&amp;gt; that querying the default devices will also trigger rebuilding the list. (...)
&lt;br&gt;&lt;br&gt;I take care of this. But I didn't make any cosmetic changes like you 
&lt;br&gt;mentioned, breaking up *BuildDeviceList* function, as my work is just to 
&lt;br&gt;put it working and not maintain the code... After you validate that this 
&lt;br&gt;code is fine, and if really want that, I send you another patch.
&lt;br&gt;&lt;br&gt;What I done:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; - In the start of *BuildDeviceList* there were a clause verifying 
&lt;br&gt;first if the global variables was initialized. I just cleaned up them 
&lt;br&gt;using free() and set them to NULL: *g_pDeviceList*, 
&lt;br&gt;*g_pCaptureDeviceList*, and *g_pAllDevicesList*, and force their 
&lt;br&gt;initialization every time *BuildDeviceList* is called.
&lt;br&gt;&amp;nbsp; &amp;nbsp; - I note a *BUG* in Creative driver for Windows when enumerating the 
&lt;br&gt;capture devices: it does not append the final '0' to the device string 
&lt;br&gt;list. Then I call *alcGetString* (for this driver) twice: once to get 
&lt;br&gt;the string pointer and to make it all zeroes, and another to get the 
&lt;br&gt;string list. This is a *very ugly hack*, but it does the work (I tested 
&lt;br&gt;using the latest Creative driver for a SoundBlaster soundcard I have).
&lt;br&gt;&lt;br&gt;It follows attached this simple change to be validated. Please help me 
&lt;br&gt;to check if this have any impact on other implementations.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;-- Guilherme Balena Versiani.
&lt;br&gt;&lt;br /&gt;Index: OpenAL-Windows/Router/alc.cpp
&lt;br&gt;===================================================================
&lt;br&gt;--- OpenAL-Windows/Router/alc.cpp	(revision 1789)
&lt;br&gt;+++ OpenAL-Windows/Router/alc.cpp	(working copy)
&lt;br&gt;@@ -371,9 +371,27 @@
&lt;br&gt;&amp;nbsp;	bool bUsedWrapper = false;
&lt;br&gt;&amp;nbsp;	ALDEVICE *pDevice = NULL;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;/// Always build the list ...
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (g_pDeviceList != NULL)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;free(g_pDeviceList);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g_pDeviceList = NULL;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (g_pCaptureDeviceList != NULL)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;free(g_pCaptureDeviceList);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g_pCaptureDeviceList = NULL;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (g_pAllDevicesList != NULL)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;free(g_pAllDevicesList);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g_pAllDevicesList = NULL;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;	// Only build the list once ...
&lt;br&gt;-	if (((g_pDeviceList == NULL) &amp;&amp; (waveOutGetNumDevs())) ||
&lt;br&gt;-		((g_pCaptureDeviceList == NULL) &amp;&amp; (waveInGetNumDevs())))
&lt;br&gt;+	if ( (waveOutGetNumDevs()) || (waveInGetNumDevs()) )
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;&amp;nbsp;		//
&lt;br&gt;&amp;nbsp;		// Directory[0] is the directory containing OpenAL32.dll
&lt;br&gt;@@ -531,10 +549,23 @@
&lt;br&gt;&amp;nbsp;										// Skip native AL component (will contain same Capture List as the wrap_oal component)
&lt;br&gt;&amp;nbsp;										if (alcIsExtensionPresentFxn(NULL, &amp;quot;ALC_EXT_CAPTURE&amp;quot;)) {
&lt;br&gt;&amp;nbsp;											// this DLL supports capture -- so add complete list of capture devices
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Ugly hack: zero memory first, as Creative driver
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// does not add the final '0' to the listing.
&lt;br&gt;&amp;nbsp;											specifier = alcGetStringFxn(0, ALC_CAPTURE_DEVICE_SPECIFIER);
&lt;br&gt;&amp;nbsp;											if ((specifier) &amp;&amp; strlen(specifier))
&lt;br&gt;&amp;nbsp;											{
&lt;br&gt;&amp;nbsp;												do {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int len = strlen((char *)specifier);
&lt;br&gt;+													memset((void *)specifier, 0, len);
&lt;br&gt;+													specifier += len + 1;
&lt;br&gt;+												} while (strlen((char *)specifier) &amp;gt; 0);
&lt;br&gt;+											}
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;specifier = alcGetStringFxn(0, ALC_CAPTURE_DEVICE_SPECIFIER);
&lt;br&gt;+											if ((specifier) &amp;&amp; strlen(specifier))
&lt;br&gt;+											{
&lt;br&gt;+												do {
&lt;br&gt;&amp;nbsp;													AddDevice(specifier, searchName, &amp;g_pCaptureDeviceList);
&lt;br&gt;&amp;nbsp;													specifier += strlen((char *)specifier) + 1;
&lt;br&gt;&amp;nbsp;												} while (strlen((char *)specifier) &amp;gt; 0);
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25601476&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ALC_ENUMERATE_ALL_EXT-and-pluggable-sound-devices-tp25478158p25601476.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25600137</id>
	<title>Re: ALC_ENUMERATE_ALL_EXT and pluggable sound devices</title>
	<published>2009-09-24T11:13:14Z</published>
	<updated>2009-09-24T11:13:14Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">On Thursday 24 September 2009 10:16:12 am Guilherme Balena Versiani wrote:
&lt;br&gt;&amp;gt; Does soft_oal.dll built from GIT current support updating the device
&lt;br&gt;&amp;gt; list for every call to alcGetString? (Surely I will test, but if you
&lt;br&gt;&amp;gt; have any directions, it would be fine)
&lt;br&gt;&lt;br&gt;Yes. It ultimately relies on DirectSound (for playback) and WinMM (for 
&lt;br&gt;capture) to actually enumerate new devices when queried, but AFAIK, they 
&lt;br&gt;should.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; FWIW, the router itself can't directly support ALC_EXT_disconnect. The
&lt;br&gt;&amp;gt; &amp;gt; ALC_CONNECTED token only works on non-NULL device handles and the rest of
&lt;br&gt;&amp;gt; &amp;gt; the behavior is specific to the given device (nothing the router
&lt;br&gt;&amp;gt; &amp;gt; explicitly handles). The router just needs to not assume a static device
&lt;br&gt;&amp;gt; &amp;gt; list from the drivers.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; That said, I will start to make changes to OpenAL Router for Windows (at
&lt;br&gt;&amp;gt; first place) to support this behavior. Could you tell me if there is
&lt;br&gt;&amp;gt; some new version of OpenAL Router other than the official repository at
&lt;br&gt;&amp;gt; Creative?
&lt;/div&gt;&lt;br&gt;I'm not too sure if the router code on SVN is still up to date or not. I 
&lt;br&gt;*think* I read it was, or at least wasn't changed significantly, but that was 
&lt;br&gt;a while ago. I know the wrap_oal driver code isn't up-to-date.
&lt;br&gt;&lt;br&gt;If you're going to modify the router code on SVN, there's some things you need 
&lt;br&gt;to be very careful of. These things bit me pretty hard when I was implementing 
&lt;br&gt;it for OpenAL Soft.
&lt;br&gt;&lt;br&gt;First is (obviously) to make sure you don't leak the previous strings (change 
&lt;br&gt;the malloc calls to realloc, or free the old pointers first). Also be careful 
&lt;br&gt;that querying the default devices will also trigger rebuilding the list. You 
&lt;br&gt;can't have that happen, or else code like this:
&lt;br&gt;&lt;br&gt;const char *strlist = alcGetString(NULL, ALC_DEVICE_SPECIFIER);
&lt;br&gt;const char *strdef = alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
&lt;br&gt;&lt;br&gt;could leave strlist as an invalid pointer. Additionally, querying the device 
&lt;br&gt;list will change the default device, so this can fail, too:
&lt;br&gt;&lt;br&gt;const char *strdef = alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
&lt;br&gt;const char *strlist = alcGetString(NULL, ALC_DEVICE_SPECIFIER);
&lt;br&gt;&lt;br&gt;The way I handled this was to only build the list when the list was queried, 
&lt;br&gt;and find the default device from the existing list when that was queried (ie. 
&lt;br&gt;don't rebuild the whole list when the default device is requested, and don't 
&lt;br&gt;change the default device when the device list is requested).
&lt;br&gt;&lt;br&gt;As a consequence of this method, it should be encouraged to query the device 
&lt;br&gt;list first, before the default device name, or else the default device name 
&lt;br&gt;may be a disconnected device not found in the device list. I know some code 
&lt;br&gt;likes to query the default first, then the list.
&lt;br&gt;&lt;br&gt;One more point is, be careful to only rebuild the list being queried. Or else 
&lt;br&gt;this:
&lt;br&gt;&lt;br&gt;const char *pblist = alcGetString(NULL, ALC_DEVICE_SPECIFIER);
&lt;br&gt;const char *caplist = alcGetString(NULL, ALC_CAPTURE_DEVICE_SPECIFIER);
&lt;br&gt;&lt;br&gt;can leave pblist as an invalid pointer due to the capture device list query 
&lt;br&gt;changing the playback device list.
&lt;br&gt;&lt;br&gt;Essentially, you need to break BuildDeviceList() into six functions..
&lt;br&gt;BuildDeviceList - query the DLLs and build the playback device list
&lt;br&gt;BuildCaptureDeviceList - query the DLLs and build the capture device list
&lt;br&gt;BuildAllDevicesList - query the DLLs and build the all-devices list
&lt;br&gt;FindDefaultDevice - find the default device in the playback device list
&lt;br&gt;FindDefaultCaptureDevice - find the default device in the capture device list
&lt;br&gt;FindDefaultAllDevices - find the default device in the all-devices list
&lt;br&gt;&lt;br&gt;Call the three Build* functions in DllMain under DLL_PROCESS_ATTACH (so an app 
&lt;br&gt;that queries the default device first has something to look in), and make sure 
&lt;br&gt;to call the appropriate one for the various alcGetString queries.
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25600137&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ALC_ENUMERATE_ALL_EXT-and-pluggable-sound-devices-tp25478158p25600137.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25599191</id>
	<title>Re: ALC_ENUMERATE_ALL_EXT and pluggable sound devices</title>
	<published>2009-09-24T10:16:12Z</published>
	<updated>2009-09-24T10:16:12Z</updated>
	<author>
		<name>Guilherme Balena Versiani</name>
	</author>
	<content type="html">Chris Robinson wrote:
&lt;br&gt;&amp;gt; The GIT version of OpenAL Soft does:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://kcat.strangesoft.net/openal.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kcat.strangesoft.net/openal.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;That's fine. I will try to use it and make some tests.
&lt;br&gt;&lt;br&gt;&amp;gt; For having the device strings change, the router will need to be modified to 
&lt;br&gt;&amp;gt; requery the DLLs on behalf of the app. Dan said that could happen in the near 
&lt;br&gt;&amp;gt; future. The individual drivers (wrap_oal.dll, ct_oal.dll, soft_oal.dll, etc) 
&lt;br&gt;&amp;gt; will also need to support updating the device list when queried. The upcoming 
&lt;br&gt;&amp;gt; 1.9 release of OpenAL Soft will. Hopefully wrap_oal.dll (and ct_oal.dll as 
&lt;br&gt;&amp;gt; needed) can do that soon, too.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;Does soft_oal.dll built from GIT current support updating the device 
&lt;br&gt;list for every call to alcGetString? (Surely I will test, but if you 
&lt;br&gt;have any directions, it would be fine)
&lt;br&gt;&lt;br&gt;&amp;gt; FWIW, the router itself can't directly support ALC_EXT_disconnect. The 
&lt;br&gt;&amp;gt; ALC_CONNECTED token only works on non-NULL device handles and the rest of the 
&lt;br&gt;&amp;gt; behavior is specific to the given device (nothing the router explicitly 
&lt;br&gt;&amp;gt; handles). The router just needs to not assume a static device list from the 
&lt;br&gt;&amp;gt; drivers.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;That said, I will start to make changes to OpenAL Router for Windows (at 
&lt;br&gt;first place) to support this behavior. Could you tell me if there is 
&lt;br&gt;some new version of OpenAL Router other than the official repository at 
&lt;br&gt;Creative?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;-- Guilherme Balena Versiani.
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25599191&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ALC_ENUMERATE_ALL_EXT-and-pluggable-sound-devices-tp25478158p25599191.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25593470</id>
	<title>Re: ALC_ENUMERATE_ALL_EXT and pluggable sound devices</title>
	<published>2009-09-24T04:27:32Z</published>
	<updated>2009-09-24T04:27:32Z</updated>
	<author>
		<name>Chris Robinson-5</name>
	</author>
	<content type="html">On Wednesday 23 September 2009 11:22:22 am Guilherme Balena Versiani wrote:
&lt;br&gt;&amp;gt; Do you know where can I find an implementation that supports
&lt;br&gt;&amp;gt; ALC_EXT_disconnect? Is this extension multiplatform (I mean it is
&lt;br&gt;&amp;gt; available)?
&lt;br&gt;&lt;br&gt;The GIT version of OpenAL Soft does:
&lt;br&gt;&lt;a href=&quot;http://kcat.strangesoft.net/openal.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://kcat.strangesoft.net/openal.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;The Windows backends don't really make use of it, though. I'm not sure how 
&lt;br&gt;DSound reports an opened device being irrecoverably lost, so I wouldn't know 
&lt;br&gt;what to watch for except errors that won't go away.. but I think that will get 
&lt;br&gt;false positives from devices that can't be shared and are just temporarily 
&lt;br&gt;taken by another process.
&lt;br&gt;&lt;br&gt;&amp;gt; Can you explain me how the ALC_EXT_disconnect combines with OpenAL32.lib
&lt;br&gt;&amp;gt; Router (Windows Router)? The problem I reported involves to change it, even
&lt;br&gt;&amp;gt; if the OpenAL driver implementation supports ALC_EXT_disconnect...
&lt;br&gt;&lt;br&gt;At its most fundamental level, it should work with the router. You open a 
&lt;br&gt;device as normal, pass the handle to alcGetIntegerv with ALC_CONNECTED, and 
&lt;br&gt;the router should pass it to the device's implementation which reports on the 
&lt;br&gt;device's status. Calling alcIsExtensionPresent with the opened device will 
&lt;br&gt;report if the extension is supported on that device.
&lt;br&gt;&lt;br&gt;For having the device strings change, the router will need to be modified to 
&lt;br&gt;requery the DLLs on behalf of the app. Dan said that could happen in the near 
&lt;br&gt;future. The individual drivers (wrap_oal.dll, ct_oal.dll, soft_oal.dll, etc) 
&lt;br&gt;will also need to support updating the device list when queried. The upcoming 
&lt;br&gt;1.9 release of OpenAL Soft will. Hopefully wrap_oal.dll (and ct_oal.dll as 
&lt;br&gt;needed) can do that soon, too.
&lt;br&gt;&lt;br&gt;FWIW, the router itself can't directly support ALC_EXT_disconnect. The 
&lt;br&gt;ALC_CONNECTED token only works on non-NULL device handles and the rest of the 
&lt;br&gt;behavior is specific to the given device (nothing the router explicitly 
&lt;br&gt;handles). The router just needs to not assume a static device list from the 
&lt;br&gt;drivers.
&lt;br&gt;_______________________________________________
&lt;br&gt;Openal-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25593470&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openal-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://opensource.creative.com/mailman/listinfo/openal-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opensource.creative.com/mailman/listinfo/openal-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/ALC_ENUMERATE_ALL_EXT-and-pluggable-sound-devices-tp25478158p25593470.html" />
</entry>

</feed>
