Can i set a key to change playback devices

WarfareDigital

Distinguished
Jan 20, 2012
53
0
18,630
The title is pretty much what i want, some kind of key to press that will change my playback devices from my speakers to my headphones and vice versa? I tried by doing a macro but that didnt work at all so can i just set a key to change it automatically?