<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>LOGG (Allegro 4) - changing stream volume</title>
		<link>http://www.allegro.cc/forums/view/618203</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sun, 09 Aug 2020 18:26:00 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I can&#39;t work out how to change the volume of a stream. I can&#39;t find any docs for LOGG (but there appears to be no function for changing volume); I also can&#39;t find anything about changing volume in the libvorbis docs.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Gillett)</author>
		<pubDate>Thu, 06 Aug 2020 23:28:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>LOGG uses allegro&#39;s audio streams (I think, I hope, I&#39;m guessing...), so from the manual entry for <a href="https://liballeg.org/stabledocs/en/alleg028.html#play_audio_stream">play_audio_stream</a>, you can use the voice functions to change the volume.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
If you want to adjust the pitch, volume, or panning of a stream once it is playing, you can use the regular voice_*() functions with stream-&gt;voice as a parameter.
</p></div></div><p>

Untested. I assume in the LOGG header you can find the voice parameter to pass to the functions.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Fri, 07 Aug 2020 15:43:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I had never noticed that Allegro had its own audio streaming stuff - until I was stepping in the debugger and it stepped into that code. I added a function to return the voice for a stream.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Andrew Gillett)</author>
		<pubDate>Sun, 09 Aug 2020 18:26:00 +0000</pubDate>
	</item>
</rss>
