Added comment header; don't use undocumented internals.

This commit is contained in:
Guido van Rossum 1992-04-22 13:47:50 +00:00
parent dee5d8eb04
commit 9ac9063cef
1 changed files with 2 additions and 2 deletions

View File

@ -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()