Problem using distance detector to activate MP3 reader

    while (1);
    SdPlay.play();

How will the program ever leave the while loop with no code in it ?