Commit 259d1e74 authored by Guido van Rossum's avatar Guido van Rossum

Added comment header; don't use undocumented internals.

parent f666b1a6
# Play CD audio on speaker or headphones.
def playaudio(port, type, audio): def playaudio(port, type, audio):
port.writesamps(audio) port.writesamps(audio)
...@@ -70,7 +72,5 @@ def main(): ...@@ -70,7 +72,5 @@ def main():
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
al.setparams(AL.DEFAULT_DEVICE, oldparams) al.setparams(AL.DEFAULT_DEVICE, oldparams)
r.player.close()
r.parser.deleteparser()
main() main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment