<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.xna.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Audio/XACT</title><link>http://forums.xna.com/forums/33.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 0.0)</generator><item><title>Should the pointers to the data in XAUDIO2_BUFFER and XAUDIO2_BUFFER_WMA const?</title><link>http://forums.xna.com/forums/thread/165823.aspx</link><pubDate>Fri, 17 Apr 2009 21:09:05 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:165823</guid><dc:creator>GameDevDude</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/165823.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=33&amp;PostID=165823</wfw:commentRss><description>&lt;span style="font-size:13px;color:#010001;"&gt;
&lt;p&gt;XAUDIO2_BUFFER has:&lt;br /&gt;
&lt;span style="font-size:13px;color:#010001;"&gt;BYTE&lt;/span&gt;&lt;span style="font-size:13px;"&gt;*&lt;/span&gt; &lt;span style="font-size:13px;color:#010001;"&gt;pAudioData&lt;br /&gt;
and &lt;span style="font-size:13px;color:#010001;"&gt;XAUDIO2_BUFFER_WMA has:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size:13px;color:#010001;"&gt;&lt;span style="font-size:13px;color:#010001;"&gt;UINT32&lt;/span&gt;&lt;span style="font-size:13px;"&gt;* &lt;/span&gt;&lt;span style="font-size:13px;color:#010001;"&gt;pDecodedPacketCumulativeBytes&lt;/span&gt;&lt;span style="font-size:13px;"&gt;; &lt;br /&gt;
&lt;br /&gt;
Neither of these are const pointers, but I can&amp;#39;t think of a reason they would change the data that these pointers point to. Is it safe to assume that they don&amp;#39;t change them? &lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
-Dude&lt;br /&gt;
&lt;br /&gt;
PS. If any people on the Microsoft team are reading this, making those const pointers in a future version would be awesome! :-D&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:13px;"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;</description></item></channel></rss>