<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>audiops Issue Tracker Rss Feed</title><link>http://audiops.codeplex.com/workitem/list/basic</link><description>audiops Issue Tracker Rss Description</description><item><title>Closed Issue: App crashes when saving files. [726]</title><link>http://audiops.codeplex.com/workitem/726</link><description>Hi,&lt;br /&gt;the app crashes when I trying to save files without previously playing at least one of them. After some debuging I stumbled over a NullReferenceException in the PSAudioForm.EncodeAllTracks&amp;#40;&amp;#41; method. The exception is thrown if AudioPlayer.Instance.CurrentAudioHandle.ChannelInfo is null. I was abled to fix it by introducing a new method in the AudioController&amp;#58;&lt;br /&gt;&lt;br /&gt;public void EnsureAudioLoaded&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;  if &amp;#40;null &amp;#33;&amp;#61; CurrentAudioHandle.ChannelInfo&amp;#41; return&amp;#59;&lt;br /&gt;  if &amp;#40;null &amp;#61;&amp;#61; CurrentTrack&amp;#41;&lt;br /&gt;  &amp;#123;&lt;br /&gt;    CurrentTrack &amp;#61; tracklist.Tracks&amp;#91;0&amp;#93;&amp;#59;&lt;br /&gt;  &amp;#125;&lt;br /&gt;&lt;br /&gt;  LoadAudio&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;I changed PSAudioForm.EncodeAllTracks&amp;#40;&amp;#41; so that AudioController.EnsureAudioLoaded&amp;#40;&amp;#41; is called before accessing the current ChannelInfo &amp;#40;line 57&amp;#41;.&lt;br /&gt;Hope that helps&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Al3x3&lt;br /&gt;Comments: &lt;p&gt;Issue closed, thanks for your feedback&lt;/p&gt;</description><author>Zenon66</author><pubDate>Wed, 22 Aug 2012 07:53:39 GMT</pubDate><guid isPermaLink="false">Closed Issue: App crashes when saving files. [726] 20120822075339A</guid></item><item><title>Commented Issue: App crashes when saving files. [726]</title><link>http://audiops.codeplex.com/workitem/726</link><description>Hi,&lt;br /&gt;the app crashes when I trying to save files without previously playing at least one of them. After some debuging I stumbled over a NullReferenceException in the PSAudioForm.EncodeAllTracks&amp;#40;&amp;#41; method. The exception is thrown if AudioPlayer.Instance.CurrentAudioHandle.ChannelInfo is null. I was abled to fix it by introducing a new method in the AudioController&amp;#58;&lt;br /&gt;&lt;br /&gt;public void EnsureAudioLoaded&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;  if &amp;#40;null &amp;#33;&amp;#61; CurrentAudioHandle.ChannelInfo&amp;#41; return&amp;#59;&lt;br /&gt;  if &amp;#40;null &amp;#61;&amp;#61; CurrentTrack&amp;#41;&lt;br /&gt;  &amp;#123;&lt;br /&gt;    CurrentTrack &amp;#61; tracklist.Tracks&amp;#91;0&amp;#93;&amp;#59;&lt;br /&gt;  &amp;#125;&lt;br /&gt;&lt;br /&gt;  LoadAudio&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;I changed PSAudioForm.EncodeAllTracks&amp;#40;&amp;#41; so that AudioController.EnsureAudioLoaded&amp;#40;&amp;#41; is called before accessing the current ChannelInfo &amp;#40;line 57&amp;#41;.&lt;br /&gt;Hope that helps&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Al3x3&lt;br /&gt;Comments: ** Comment from web user: Zenon66 ** &lt;p&gt;Al3x3 Thanks very much for your feedback, this issue will be solved for the next version &amp;#58;-&amp;#41;&lt;/p&gt;&lt;p&gt;PS&lt;br /&gt;about the code it is enough to ensure tracklist count is &amp;#61;&amp;#61; 1 and then set&lt;/p&gt;&lt;p&gt;AudioPlayer.Instance.CurrentTrackIndex &amp;#61; 0&amp;#59;&lt;/p&gt;&lt;p&gt;Changing CurrentTrackIndex property automatically fires LoadAudio event&lt;/p&gt;</description><author>Zenon66</author><pubDate>Wed, 22 Aug 2012 07:52:51 GMT</pubDate><guid isPermaLink="false">Commented Issue: App crashes when saving files. [726] 20120822075251A</guid></item><item><title>Commented Issue: App crashes when saving files. [726]</title><link>http://audiops.codeplex.com/workitem/726</link><description>Hi,&lt;br /&gt;the app crashes when I trying to save files without previously playing at least one of them. After some debuging I stumbled over a NullReferenceException in the PSAudioForm.EncodeAllTracks&amp;#40;&amp;#41; method. The exception is thrown if AudioPlayer.Instance.CurrentAudioHandle.ChannelInfo is null. I was abled to fix it by introducing a new method in the AudioController&amp;#58;&lt;br /&gt;&lt;br /&gt;public void EnsureAudioLoaded&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;  if &amp;#40;null &amp;#33;&amp;#61; CurrentAudioHandle.ChannelInfo&amp;#41; return&amp;#59;&lt;br /&gt;  if &amp;#40;null &amp;#61;&amp;#61; CurrentTrack&amp;#41;&lt;br /&gt;  &amp;#123;&lt;br /&gt;    CurrentTrack &amp;#61; tracklist.Tracks&amp;#91;0&amp;#93;&amp;#59;&lt;br /&gt;  &amp;#125;&lt;br /&gt;&lt;br /&gt;  LoadAudio&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;I changed PSAudioForm.EncodeAllTracks&amp;#40;&amp;#41; so that AudioController.EnsureAudioLoaded&amp;#40;&amp;#41; is called before accessing the current ChannelInfo &amp;#40;line 57&amp;#41;.&lt;br /&gt;Hope that helps&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Al3x3&lt;br /&gt;Comments: ** Comment from web user: Al3x3 ** &lt;p&gt;Hi, here is the problem steps recorder file. Hope this can help.&lt;/p&gt;</description><author>Al3x3</author><pubDate>Tue, 21 Aug 2012 18:37:41 GMT</pubDate><guid isPermaLink="false">Commented Issue: App crashes when saving files. [726] 20120821063741P</guid></item><item><title>Commented Issue: App crashes when saving files. [726]</title><link>http://audiops.codeplex.com/workitem/726</link><description>Hi,&lt;br /&gt;the app crashes when I trying to save files without previously playing at least one of them. After some debuging I stumbled over a NullReferenceException in the PSAudioForm.EncodeAllTracks&amp;#40;&amp;#41; method. The exception is thrown if AudioPlayer.Instance.CurrentAudioHandle.ChannelInfo is null. I was abled to fix it by introducing a new method in the AudioController&amp;#58;&lt;br /&gt;&lt;br /&gt;public void EnsureAudioLoaded&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;  if &amp;#40;null &amp;#33;&amp;#61; CurrentAudioHandle.ChannelInfo&amp;#41; return&amp;#59;&lt;br /&gt;  if &amp;#40;null &amp;#61;&amp;#61; CurrentTrack&amp;#41;&lt;br /&gt;  &amp;#123;&lt;br /&gt;    CurrentTrack &amp;#61; tracklist.Tracks&amp;#91;0&amp;#93;&amp;#59;&lt;br /&gt;  &amp;#125;&lt;br /&gt;&lt;br /&gt;  LoadAudio&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;I changed PSAudioForm.EncodeAllTracks&amp;#40;&amp;#41; so that AudioController.EnsureAudioLoaded&amp;#40;&amp;#41; is called before accessing the current ChannelInfo &amp;#40;line 57&amp;#41;.&lt;br /&gt;Hope that helps&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Al3x3&lt;br /&gt;Comments: ** Comment from web user: Zenon66 ** &lt;p&gt;Al3x3, How can I exactly reproduce this error &amp;#63;&lt;/p&gt;&lt;p&gt;I tried hitting save button with no tracks on playlist, but nothing happens&lt;br /&gt;&lt;/p&gt;</description><author>Zenon66</author><pubDate>Tue, 21 Aug 2012 08:45:26 GMT</pubDate><guid isPermaLink="false">Commented Issue: App crashes when saving files. [726] 20120821084526A</guid></item><item><title>Created Issue: App crashes when saving files. [726]</title><link>http://audiops.codeplex.com/workitem/726</link><description>Hi,&lt;br /&gt;the app crashes when I trying to save files without previously playing at least one of them. After some debuging I stumbled over a NullReferenceException in the PSAudioForm.EncodeAllTracks&amp;#40;&amp;#41; method. The exception is thrown if AudioPlayer.Instance.CurrentAudioHandle.ChannelInfo is null. I was abled to fix it by introducing a new method in the AudioController&amp;#58;&lt;br /&gt;&lt;br /&gt;public void EnsureAudioLoaded&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;  if &amp;#40;null &amp;#33;&amp;#61; CurrentAudioHandle.ChannelInfo&amp;#41; return&amp;#59;&lt;br /&gt;  if &amp;#40;null &amp;#61;&amp;#61; CurrentTrack&amp;#41;&lt;br /&gt;  &amp;#123;&lt;br /&gt;    CurrentTrack &amp;#61; tracklist.Tracks&amp;#91;0&amp;#93;&amp;#59;&lt;br /&gt;  &amp;#125;&lt;br /&gt;&lt;br /&gt;  LoadAudio&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;I changed PSAudioForm.EncodeAllTracks&amp;#40;&amp;#41; so that AudioController.EnsureAudioLoaded&amp;#40;&amp;#41; is called before accessing the current ChannelInfo &amp;#40;line 57&amp;#41;.&lt;br /&gt;Hope that helps&amp;#33;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Al3x3&lt;br /&gt;</description><author>Al3x3</author><pubDate>Sun, 05 Aug 2012 13:43:01 GMT</pubDate><guid isPermaLink="false">Created Issue: App crashes when saving files. [726] 20120805014301P</guid></item></channel></rss>