File: ChooseAudioDev

package info (click to toggle)
python-pyo 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 23,692 kB
  • sloc: ansic: 137,415; python: 135,293; makefile: 390; cpp: 242; sh: 163
file content (1 line) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (7)
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'}