]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added comment header; don't use undocumented internals.
authorGuido van Rossum <guido@python.org>
Wed, 22 Apr 1992 13:47:50 +0000 (13:47 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 22 Apr 1992 13:47:50 +0000 (13:47 +0000)
Demo/sgi/cd/playcd.py

index dc38ed91587acffdb9c62a2b339b0189b22edd88..29ccb3617b116683f03621f777edaf2a1756d847 100755 (executable)
@@ -1,3 +1,5 @@
+# Play CD audio on speaker or headphones.
+
 def playaudio(port, type, audio):
        port.writesamps(audio)
 
@@ -70,7 +72,5 @@ def main():
        except KeyboardInterrupt:
                pass
        al.setparams(AL.DEFAULT_DEVICE, oldparams)
-       r.player.close()
-       r.parser.deleteparser()
 
 main()