Пример #1
0
def volume_cmd(vol):
  sh.amixer('set', 'PCM', vol, _bg=True)
Пример #2
0
def mute_cmd():
  sh.amixer('set', 'PCM', 'toggle', _bg=True)