Play Audio Only One at a time?

I have this script:

var audioo : AudioClip;

function Update() {

if (iPhoneInput.acceleration.magnitude > 2f){




When i swing my iphone the audio plays 10 times. How can i make it to where audio can only play if last audioclip is finished playing?

Don’t put an audio play in update?