因此,Im完成一个Pipe。
我有以下法典可供查阅:
while(![player isPlaying]) {
totalSoundDuration = soundDuration + 0.5; //Gives a half second break between sounds
sleep(totalSoundDuration); //Don t play next sound until the previous sound has finished
[player play]; //Play sound
NSLog(@"
Sound Finished Playing
"); //Output to console
}
由于某种原因,声音一度在密码休息室,其产出如下:
Sound Finished Playing
Sound Finished Playing
Sound Finished Playing
etc...
这只是永远重复的,我不敢指责你们中任何热爱的人会 what什么是gle?
Cheers!