tmp
[blender.git] / extern / audaspace / bindings / python / examples / player.py
1 #!/usr/bin/python
2 import aud, sys, time
3 device = aud.Device()
4 sound = aud.Sound.file(sys.argv[1])
5 handle = device.play(sound)
6 while handle.status:
7         time.sleep(0.1)