![]() |
#1 |
Junior Member
Join Date: Nov 2021
Posts: 1
|
New Plug-in: Windows 10 Media Controls
Hello there!
This is my very first post in this forum and also my first attempt at writing a Winamp plug-in. Recently, I switched to Bluetooth headphones but, to my dismay, I wasn't able to use them to control Winamp. I tried several existing plug-ins, none which worked for me. Therefore, I decided to do my own research. Windows 10 introduced a new API called System Media Transport Control (SMTC). This allows the application to announce what it's playing and also to receive the control commands. I've written a simple plug-in that employs this API: http://rgb-xyz.net/winamp/gen_w10mc.zip As a result: * Windows can display the played track, artist and cover art on the system OSD bar. * This gives more robust handling of media keys, because Windows tries to use this API to control the playing application before resorting to legacy WM_APPCOMMAND messages. * Out-of-the-box support for Bluetooth AVRCP. Connected BT devices can be used to control the playback. Theoretically, this should work also in the opposite direction: Capable BT speakers should be able to display the information about the played track. Unfortunately, I wasn't able to test this. Please let me know if you have some issues or suggestions. Enjoy! —Miro |
![]() |
![]() |
|
Tags |
bluetooth avrcp smtc |
Thread Tools | Search this Thread |
Display Modes | |
|
|