Windows 中的蓝牙 AVRCP 命令会触发哪些事件

发布于 2024-12-23 00:17:09 字数 671 浏览 3 评论 0 原文

可以这么说,只是在做一些高级侦察...... 对于我的 Pandora 客户端 Elpis,我支持全局媒体键(键盘上的 MediaPlayPause、MediaNext 等)并且我希望能够支持 AVRCP。我目前没有(尽管很快就会尝试得到一些)。

我的主要问题是,Windows 中的 AVRCP 命令? 它是否取决于 BT 适配器和/或驱动程序堆栈? 如果它们只是作为上面提到的相同媒体键公开,我会很高兴,但我找不到任何官方 MS 文档确认或否认这一点......但据我所知,WMP 支持它,但其他一些媒体播放器不支持(尽管它们支持标准媒体键),这让我相信这是不同的事件。

任何见解将不胜感激。

Just doing some advanced scouting so to speak here...
For my Pandora client, Elpis, I support global media keys (MediaPlayPause, MediaNext, etc. on the keyboard) and I want to be able to support AVRCP from bluetooth headphones if possible. I do not currently have any (though will try to get some soon).

My main question is, what events (keyboard or otherwise) are fired by AVRCP commands in windows?
Is it something that depends on the BT adapter and/or driver stack?
I would love it if they just were exposed as the same media keys mentioned above, but I can not find any official MS documentation confirming or denying that... But from what I can tell, WMP supports it but some other media players do not (though they support the standard media keys), which leads me to believe it is different events.

Any insight would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我也只是我 2024-12-30 00:17:09

没有一组可用于 Windows 上蓝牙的公开事件。 Btd.dll 包含此功能并使用 PassThruOpId enum 进行播放,停止、暂停、快进和快进。单击此处获取有关此内容的 MSDN 条目。

更新根据下面的评论,我找不到除此问题的紧凑框架之外的任何文档。

更新:这是Windows 蓝牙驱动程序堆栈。另请查看另一个堆栈问题

There isn't a set of exposed events available for Bluetooth on Windows. Btd.dll contains this functionality and uses the PassThruOpId enum for play, stop, pause, FF and RW. Click here for the MSDN entry on this.

UPDATE As per the comment below I am unable to find any documentation other than that of the Compact Framework for this question.

UPDATE: Here is a link to the Windows Bluetooth Driver Stack. Also checkout this other stack question.

无人问我粥可暖 2024-12-30 00:17:09

不知道它在 MSDN 上的记录...假设它确实存在。但我还有一些其他参考资料:

http://download.microsoft.com/download/5/E/6/5E66B27B-988B-4F50-AF3A-C2FF1E62180F/CON-T564_WH08.pptx

  • 幻灯片 10 --“HF 和AVRCP 控件映射到人机接口设备 (HID) 控件”
  • 幻灯片 14 --“AVRCP 控件映射到人机接口设备(HID)API”
    以及 AVRCP 和 HID 值 IIRC 之间的映射表,

Larry Ostermann 在此视频中也对此进行了讨论:http://channel9.msdn.com/blogs/charles/inside-windows-7-larry-osterman-on-new-audio-capologies 至少讨论了蓝牙电话呼叫控制00:33:35 根据我的笔记。

Don't know where its documented at MSDN...assuming it exists at all. But I have some other references:

http://download.microsoft.com/download/5/E/6/5E66B27B-988B-4F50-AF3A-C2FF1E62180F/CON-T564_WH08.pptx

  • Slide 10 -- "HF and AVRCP controls are mapped to Human Interface Device (HID) controls"
  • Slide 14 -- "AVRCP Controls are mapped to Human Interface Device (HID) API"
    and table of mapping between AVRCP and HID values

IIRC it's also discussed by Larry Ostermann in this video: http://channel9.msdn.com/blogs/charles/inside-windows-7-larry-osterman-on-new-audio-capabilities At least Bluetooth phone Call control is discussed at 00:33:35 according to my notes.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文