mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Added comment header; don't use undocumented internals.
This commit is contained in:
parent
dee5d8eb04
commit
9ac9063cef
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue