<?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/28.aspx</link><description>Because silence isn't golden.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 0.0)</generator><item><title>Re: Sound Breaking without XACT 3.1</title><link>http://forums.xna.com/forums/thread/197124.aspx</link><pubDate>Tue, 07 Jul 2009 05:06:28 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:197124</guid><dc:creator>Ashu Tatake</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/197124.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=197124</wfw:commentRss><description>This post might help - &lt;a href="http://blogs.msdn.com/ashtat/archive/2009/06/15/soundeffect-api-changes-in-game-studio-3-1.aspx"&gt;http://blogs.msdn.com/ashtat/archive/2009/06/15/soundeffect-api-changes-in-game-studio-3-1.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</description></item><item><title>Re: Sound Breaking without XACT 3.1</title><link>http://forums.xna.com/forums/thread/196369.aspx</link><pubDate>Sat, 04 Jul 2009 17:45:13 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:196369</guid><dc:creator>Anti</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/196369.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=196369</wfw:commentRss><description>That makes sense... I wonder why it hasn&amp;#39;t been brought up before...&lt;br /&gt;
&lt;br /&gt;
In any case thanks for clearing it up.</description></item><item><title>Re: Sound Breaking without XACT 3.1</title><link>http://forums.xna.com/forums/thread/196323.aspx</link><pubDate>Sat, 04 Jul 2009 15:33:33 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:196323</guid><dc:creator>Bjoern Graf</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/196323.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=196323</wfw:commentRss><description>This is as unrelated to XACT as it can get. While the SoundEffect stuff and XACT use XAudio2 internally XACT will not mess around with the former if it is not initiallized in your project at all (and even if it is both are separate). What you are running into is most likely garbage collection of the SoundEffectInstance instances, which is why storing them in a list until they are done fixes the problem you are experience.</description></item><item><title>Re: Sound Breaking without XACT 3.1</title><link>http://forums.xna.com/forums/thread/196297.aspx</link><pubDate>Sat, 04 Jul 2009 13:00:15 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:196297</guid><dc:creator>Anti</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/196297.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=196297</wfw:commentRss><description>One final piece of information! I tried adding the instances of the sounds played into a list and removing sounds that were done playing from the list and this seems to fix the problem. I still have the feeling that I probably shouldn&amp;#39;t need to do this.</description></item><item><title>Re: Sound Breaking without XACT 3.1</title><link>http://forums.xna.com/forums/thread/196292.aspx</link><pubDate>Sat, 04 Jul 2009 12:17:33 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:196292</guid><dc:creator>Anti</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/196292.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=196292</wfw:commentRss><description>A bit more information...&lt;br /&gt;
&lt;br /&gt;
When I play sound without using CreateInstance it works just fine!</description></item><item><title>Sound Breaking without XACT 3.1</title><link>http://forums.xna.com/forums/thread/196259.aspx</link><pubDate>Sat, 04 Jul 2009 07:50:03 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:196259</guid><dc:creator>Anti</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/196259.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=196259</wfw:commentRss><description>&lt;p&gt;The way XACT deals with volume, among other things, was a real turn off so I decided to start using SoundEffectInstance to play sounds. All the code is exactly the same only I tried using this function to play sounds.&lt;/p&gt;
&lt;div style="border-bottom:#7f9db9 1px solid;border-left:#7f9db9 1px solid;background-color:white;font-family:courier new;font-size:11px;overflow:auto;border-top:#7f9db9 1px solid;border-right:#7f9db9 1px solid;"&gt;
&lt;table style="border-bottom:#eee 0px solid;border-right-width:0px;background-color:#fff;margin:2px 0px;width:99%;border-collapse:collapse;border-top-width:0px;border-left-width:0px;" cellspacing="0" cellpadding="0"&gt;
    
    
        &lt;tr&gt;
            &lt;td&gt;&lt;span style="font-size:11px;"&gt;            SoundEffect soundEffect = Sounds[soundName];  &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color:#f7f7f7;"&gt;            SoundEffectInstance instance = soundEffect.CreateInstance();  &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;              &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color:#f7f7f7;"&gt;&lt;span style="color:#008000;"&gt; &lt;/span&gt;&lt;span style="font-size:11px;"&gt; &lt;/span&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;            instance.Volume = volume;  &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="background-color:#f7f7f7;"&gt;            instance.Play(); &lt;/td&gt;
        &lt;/tr&gt;
    
&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
For some reason now sound effects will randomly break. Is there something in XACT that may cause that? &lt;br /&gt;
Also, apply3D doesn&amp;#39;t seem to work the same way it used to, might there be a reason for that?&lt;br /&gt;
&lt;br /&gt;
One more piece of information! I followed the how to play sounds without XACT guide step by step but it didn&amp;#39;t seem to mention that I had to add a reference to audio importer. When I did that it gave a weird error about the .Net Target Framework which I have set to 3.5. I&amp;#39;m not sure if that adds to anything.</description></item></channel></rss>