summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/cd
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-04-22 13:47:50 (GMT)
committerGuido van Rossum <guido@python.org>1992-04-22 13:47:50 (GMT)
commit9ac9063cefe1daa73228d567d03104565b764610 (patch)
tree95e5ef1b8ec2f1cd3bd8f18147622121e741ed68 /Demo/sgi/cd
parentdee5d8eb04182196dafb06befbd5e6e53b27f906 (diff)
downloadcpython-9ac9063cefe1daa73228d567d03104565b764610.zip
cpython-9ac9063cefe1daa73228d567d03104565b764610.tar.gz
cpython-9ac9063cefe1daa73228d567d03104565b764610.tar.bz2
Added comment header; don't use undocumented internals.
Diffstat (limited to 'Demo/sgi/cd')
-rwxr-xr-xDemo/sgi/cd/playcd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sgi/cd/playcd.py b/Demo/sgi/cd/playcd.py
index dc38ed9..29ccb36 100755
--- a/Demo/sgi/cd/playcd.py
+++ b/Demo/sgi/cd/playcd.py
@@ -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()