status/volume: Document public function
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2380>
This commit is contained in:
parent
b0187d4261
commit
d80a7224cd
@ -19,6 +19,9 @@ const VolumeType = {
|
||||
// Each Gvc.MixerControl is a connection to PulseAudio,
|
||||
// so it's better to make it a singleton
|
||||
let _mixerControl;
|
||||
/**
|
||||
* @returns {Gvc.MixerControl} - the mixer control singleton
|
||||
*/
|
||||
function getMixerControl() {
|
||||
if (_mixerControl)
|
||||
return _mixerControl;
|
||||
|
Loading…
Reference in New Issue
Block a user