summaryrefslogtreecommitdiff
path: root/Mac/Lib/test/tsnd.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib/test/tsnd.py')
-rw-r--r--Mac/Lib/test/tsnd.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/Mac/Lib/test/tsnd.py b/Mac/Lib/test/tsnd.py
deleted file mode 100644
index 919785a306..0000000000
--- a/Mac/Lib/test/tsnd.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# Show off SndPlay (and some resource manager functions).
-# Get a list of all 'snd ' resources in the system and play them all.
-
-from Carbon.Res import *
-from Carbon.Snd import *
-
-ch = SndNewChannel(0, 0, None)
-print "Channel:", ch
-
-type = 'snd '
-
-for i in range(CountResources(type)):
- r = GetIndResource(type, i+1)
- print r.GetResInfo(), r.size
- if r.GetResInfo()[0] == 1:
- print "Skipping simple beep"
- continue
- ch.SndPlay(r, 0)