⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 transform_8h.html

📁 BlueLab3 bluetooth API 说明文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
          <td class="md" nowrap valign="top"> <a class="el" href="transform___8h.html#a0">Transform</a> TransformRtpAacDecode           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="source___8h.html#a0">Source</a>&nbsp;</td>          <td class="mdname" nowrap> <em>source</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="sink___8h.html#a0">Sink</a>&nbsp;</td>          <td class="mdname" nowrap> <em>sink</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Unpacks AAC frames from RTP-AAC packets. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>source</em>&nbsp;</td><td>An L2CAP stream containing RTP AAC packets. </td></tr>    <tr><td></td><td valign=top><em>sink</em>&nbsp;</td><td>A stream that the AAC frames will be written to. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a8" doxytag="transform.h::TransformRtpMp3Decode" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="transform___8h.html#a0">Transform</a> TransformRtpMp3Decode           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="source___8h.html#a0">Source</a>&nbsp;</td>          <td class="mdname" nowrap> <em>source</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="sink___8h.html#a0">Sink</a>&nbsp;</td>          <td class="mdname" nowrap> <em>sink</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Unpacks MP3 frames from RTP-MP3 packets. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>source</em>&nbsp;</td><td>An L2CAP stream containing RTP MP3 packets. </td></tr>    <tr><td></td><td valign=top><em>sink</em>&nbsp;</td><td>A stream that the MP3 frames will be written to. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a9" doxytag="transform.h::TransformHidKeyboard" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="transform___8h.html#a0">Transform</a> TransformHidKeyboard           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="source___8h.html#a0">Source</a>&nbsp;</td>          <td class="mdname" nowrap> <em>source</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="sink___8h.html#a0">Sink</a>&nbsp;</td>          <td class="mdname" nowrap> <em>sink</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Transform data between Bluetooth HID keyboard reports and USB HID keyboard reports. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>source</em>&nbsp;</td><td>The source containing BT HID reports </td></tr>    <tr><td></td><td valign=top><em>sink</em>&nbsp;</td><td>The sink to take the USB HID reports </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a10" doxytag="transform.h::TransformHidMouse" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="transform___8h.html#a0">Transform</a> TransformHidMouse           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="source___8h.html#a0">Source</a>&nbsp;</td>          <td class="mdname" nowrap> <em>source</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="sink___8h.html#a0">Sink</a>&nbsp;</td>          <td class="mdname" nowrap> <em>sink</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Transform data between Bluetooth HID mouse reports and USB HID mouse reports. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>source</em>&nbsp;</td><td>The source containing BT HID reports </td></tr>    <tr><td></td><td valign=top><em>sink</em>&nbsp;</td><td>The sink to take the USB HID reports </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a11" doxytag="transform.h::TransformPollTraffic" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a9">bool</a> TransformPollTraffic           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="transform___8h.html#a0">Transform</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>transform</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Report if any traffic has been handled by this transform. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>transform</em>&nbsp;</td><td>The transform to query.</td></tr>  </table></dl>Reads and clears a bit that reports any activity on a transform. This can be used to detect activity on connect streams.<p>Return TRUE if the transform exists and has processed data, FALSE otherwise.     </td>  </tr></table><a class="anchor" name="a12" doxytag="transform.h::TransformFromSource" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="transform___8h.html#a0">Transform</a> TransformFromSource           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="source___8h.html#a0">Source</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>source</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Find the transform connected to a source. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>source</em>&nbsp;</td><td>The source to look for.</td></tr>  </table></dl>Returns the transform connected to the specifed source, or zero if no transform or connection is active.     </td>  </tr></table><a class="anchor" name="a13" doxytag="transform.h::TransformFromSink" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="transform___8h.html#a0">Transform</a> TransformFromSink           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="sink___8h.html#a0">Sink</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>sink</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Find the transform connected to a sink. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>sink</em>&nbsp;</td><td>The sink to look for.</td></tr>  </table></dl>Returns the transform connected to the specifed sink, or zero if no transform or connection is active.     </td>  </tr></table><a class="anchor" name="a14" doxytag="transform.h::TransformSlice" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="transform___8h.html#a0">Transform</a> TransformSlice           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="source___8h.html#a0">Source</a>&nbsp;</td>          <td class="mdname" nowrap> <em>source</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="sink___8h.html#a0">Sink</a>&nbsp;</td>          <td class="mdname" nowrap> <em>sink</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Create a transform between the specified source and sink. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>source</em>&nbsp;</td><td>The Source to use in the transform. </td></tr>    <tr><td></td><td valign=top><em>sink</em>&nbsp;</td><td>The Sink to use in the transform.</td></tr>  </table></dl>Returns 0 on failure, otherwise the transform.<p>Removes bytes from start and end of packets.     </td>  </tr></table></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -