Old 8th November 2021, 04:01   #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.

Attached Thumbnails
Click image for larger version

Name:	screenshot.png
Views:	339
Size:	183.5 KB
ID:	54827  
rgb_xyz is offline   Reply With Quote
Old 13th November 2021, 01:23   #2
Junior Member
Join Date: Jan 2014
Posts: 40
zumer is offline   Reply With Quote
Old 18th December 2022, 14:50   #3
Junior Member
Join Date: Feb 2009
Location: Over here!
Posts: 13
Link is ded, anyone have a working version?
I'd love to add Winamp to the Windows media player thingy.
HanZie82 is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

bluetooth avrcp smtc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump