File: ChooseAudioDev

package info (click to toggle)
python-pyo 1.0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,696 kB
  • sloc: python: 135,133; ansic: 128,013; javascript: 16,116; sh: 395; makefile: 389; cpp: 242
file content (1 line) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (6)
1
snippet = {'shortcut': u'Shift-Alt-7', 'value': u'pa_list_devices()\ndevIn = int(input("Enter your input device number : "))\ndevOut = int(input("Enter your output device number : "))\ns = Server()\ns.setInputDevice(devIn)\ns.setOutputDevice(devOut)\ns.boot()\n'}