可以这么说,只是在做一些高级侦察......
对于我的 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.
发布评论
评论(2)
没有一组可用于 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.
不知道它在 MSDN 上的记录...假设它确实存在。但我还有一些其他参考资料:
http://download.microsoft.com/download/5/E/6/5E66B27B-988B-4F50-AF3A-C2FF1E62180F/CON-T564_WH08.pptx
以及 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
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.