コード例 #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)