I want to add my audio-recorder to Ubuntu's sound menu.
Sound menu seems to use MPRIS commands over DBus to control the media players. So I could implement a minimal MPRIS for audio-recorder as well. Can I also change the icons that is shown on the sound menu? I mean, can I add my own buttons under the media-player? Audio-recorder needs to display three icons/buttons for START, PAUSE and STOP recording.
References:
You can create your own plugin for the sound indicator. Development will probably include going through some of the existing examples for Banshee, Rhythmbox and Exaile.
Your biggest problem is going to be the record button. You can't add new buttons via the plugin. Instead you will have to add that to the sound indicator itself and push the change upstream.