1 # Show off SndPlay (and some resource manager functions).
2 # Get a list of all 'snd ' resources in the system and play them all.
7 ch
= SndNewChannel(0, 0, None)
12 for i
in range(CountResources(type)):
13 r
= GetIndResource(type, i
+1)
14 print r
.GetResInfo(), r
.size
15 if r
.GetResInfo()[0] == 1:
16 print "Skipping simple beep"