Skip to content

Commit

Permalink
Update api_imusiccontentcenter_getcaches.dita
Browse files Browse the repository at this point in the history
  • Loading branch information
Suri539 committed Sep 27, 2024
1 parent ee2cc9d commit 3cbb212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dd>v4.2.0</dd>
</dlentry>
</dl>
<p>调用该方法前,你需要预先分配一定大小的内存空间用来存储缓存音乐资源的信息。如果你需要设置可缓存的音乐资源数量,可通过 <xref keyref="initialize_IMusicContentCenter"/> 的 <xref keyref="MusicContentCenterConfiguration"/> 来设置。</p>
<p>调用该方法前,你需要预先分配一定大小的内存空间用来存储缓存音乐资源的信息。如果你需要设置可缓存的音乐资源数量,可通过 <xref keyref="initialize_IMusicContentCenter"/> 的 <parmname props="framework android cpp">configuration</parmname><parmname props="apple">config</parmname> 来设置。</p>
<p>当你不再需要使用已缓存的音乐资源时,你需要及时释放内存以防止内存泄漏。</p>
</section>
<section id="parameters" props="cpp unreal bp unity cs flutter">
Expand Down

0 comments on commit 3cbb212

Please sign in to comment.