<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi Amrita - thank you, that's in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024298#M39466</link>
    <description>&lt;P&gt;Hi Amrita - thank you, that's exactly what I was looking for. &amp;nbsp;I know this puts me well and truly in the 'should have read the literature first' category, sorry about that! &amp;nbsp;In my (weak) defence I'm trying to convert an Appcelerator Titanium app and actually went through and deleted all references to 'release()'! &amp;nbsp;Oh well...&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;My only problem now is that I can't include the cordova.js file - in the literature it says it's a 'phantom' file that doesn't exist until you build the app, but it isn't including it when I do build the app so I'm sure I'm missing something, this is pretty basic after all!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Tim&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2015 13:38:59 GMT</pubDate>
    <dc:creator>Tim_A_2</dc:creator>
    <dc:date>2015-10-21T13:38:59Z</dc:date>
    <item>
      <title>Crosswalk garbage collection</title>
      <link>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024296#M39464</link>
      <description>&lt;P&gt;Hi, I was wondering if there is any way to manually control media resources, such as clearing previous media buffers or controlling how much ram they use? I have a media rich app that runs fine initially but gradually starts to stutter and die on some android tablets, presumably because of a lack of efficient or fast enough garbage collection. I am trying to use a restricted number of audio (html) tags but the problem is still there.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;thanks,&lt;/P&gt;

&lt;P&gt;T&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 23:05:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024296#M39464</guid>
      <dc:creator>Tim_A_2</dc:creator>
      <dc:date>2015-10-19T23:05:28Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024297#M39465</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 16.3636px;"&gt;See this example:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/xmnboy/hello-cordova" style="font-size: 12px; line-height: 16.3636px;"&gt;https://github.com/xmnboy/hello-cordova&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;There is function call media.release which marks the resources for garbage collection.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 22:47:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024297#M39465</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2015-10-20T22:47:19Z</dc:date>
    </item>
    <item>
      <title>Hi Amrita - thank you, that's</title>
      <link>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024298#M39466</link>
      <description>&lt;P&gt;Hi Amrita - thank you, that's exactly what I was looking for. &amp;nbsp;I know this puts me well and truly in the 'should have read the literature first' category, sorry about that! &amp;nbsp;In my (weak) defence I'm trying to convert an Appcelerator Titanium app and actually went through and deleted all references to 'release()'! &amp;nbsp;Oh well...&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;My only problem now is that I can't include the cordova.js file - in the literature it says it's a 'phantom' file that doesn't exist until you build the app, but it isn't including it when I do build the app so I'm sure I'm missing something, this is pretty basic after all!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Tim&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 13:38:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024298#M39466</guid>
      <dc:creator>Tim_A_2</dc:creator>
      <dc:date>2015-10-21T13:38:59Z</dc:date>
    </item>
    <item>
      <title>Hi Tim,</title>
      <link>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024299#M39467</link>
      <description>&lt;P&gt;Hi Tim,&lt;/P&gt;

&lt;P&gt;Cordova.js should be in there when you extract your apk file after build. I just tried on a few samples and they all contain the file. Did you try your app on device? Is it working as it should?&lt;/P&gt;

&lt;P&gt;Try the res/raw folder.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 18:14:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024299#M39467</guid>
      <dc:creator>Anusha_M_Intel1</dc:creator>
      <dc:date>2015-10-21T18:14:16Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024300#M39468</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Yes sorry - running the debug with my device, cordova.js must be there as it isn't throwing any errors - however from what I've read, the release() function only works with the native media plugin, which can only play one sound at a time, is that correct?&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;At the moment I'm using html audio tags to play multi-channel sound. &amp;nbsp;Basically I have 6 audio tags that I reuse throughout the game, changing src. &amp;nbsp;It's a mixture of 3-5 minute background music loops, 60-sec ambient loops and short 5-10 speech clips that play simultaneously. &amp;nbsp;I was hoping that by using just those 6 and changing the source it'd conserve memory, but I'm not sure it really works like that? &amp;nbsp;It works&amp;nbsp;&lt;/SPAN&gt;pretty&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;well otherwise. &amp;nbsp;There's no need for instant (sound effect) playback, I would use the Web Audio API for that if I needed it, but obviously it's no use for these long clips I'm playing.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thanks for you help!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;T&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 08:51:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024300#M39468</guid>
      <dc:creator>Tim_A_2</dc:creator>
      <dc:date>2015-10-22T08:51:53Z</dc:date>
    </item>
    <item>
      <title>Is your app working now?</title>
      <link>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024301#M39469</link>
      <description>&lt;P&gt;Is your app working now?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 17:22:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024301#M39469</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2015-10-22T17:22:13Z</dc:date>
    </item>
    <item>
      <title>I'm still using HTML audio</title>
      <link>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024302#M39470</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I'm still using HTML audio tags rather than Cordova native media but actually t&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;he app seems to be working much better now, probably mainly because I've spent some time redesigning the UI and have removed the need for some large graphic divs and other memory-eating resources, so it's likely these were actually more of a problem than the audio.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;If it ain't broke don't fix it I guess!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2015 22:42:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024302#M39470</guid>
      <dc:creator>Tim_A_2</dc:creator>
      <dc:date>2015-10-22T22:42:56Z</dc:date>
    </item>
    <item>
      <title>The only disadvantages ia</title>
      <link>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024303#M39471</link>
      <description>&lt;P&gt;The only disadvantages ia that&amp;nbsp;HTML5 &amp;lt;audio&amp;gt; tag does not work well in the webviews on many devices. Bu if it works for you well and good :)&lt;/P&gt;

&lt;P&gt;Have you tried a low latency media plugin?&amp;nbsp;http://www.tricedesigns.com/2012/01/25/low-latency-polyphonic-audio-in-phonegap/&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2015 18:01:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024303#M39471</guid>
      <dc:creator>Anusha_M_Intel1</dc:creator>
      <dc:date>2015-10-26T18:01:10Z</dc:date>
    </item>
    <item>
      <title>Sorry Anusha, just saw your</title>
      <link>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024304#M39472</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Sorry Anusha, just saw your reply - no I haven't tried that plugin yet simply because it's working fine just using HTML audio at the moment, I'm using Crosswalk anyway so there shouldn't be any web view problems.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;However I've now run in to another disaster I'm going to ask about on a separate thread - Google Expansion Packs!!&lt;/P&gt;

&lt;P&gt;T&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 23:43:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Crosswalk-garbage-collection/m-p/1024304#M39472</guid>
      <dc:creator>Tim_A_2</dc:creator>
      <dc:date>2015-11-03T23:43:20Z</dc:date>
    </item>
  </channel>
</rss>

