Source

pygame / examples / midi.py

Diff from to

File examples/midi.py

     _print_device_info()
 
     if device_id is None:
-        port = pygame.midi.get_default_device_id()
+        port = pygame.midi.get_default_output_id()
     else:
         port = device_id