Added pendingQueue, pendingQueueCount, mostRecentlyQueuedStillPendingItem. Added more documentation comments. Changed STKAudioPlayerInternalState to be private/hidden

This commit is contained in:
Thong Nguyen
2014-02-02 12:48:24 +00:00
parent 018da7a2eb
commit 70368a09ba
13 changed files with 573 additions and 84 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
self.window.backgroundColor = [UIColor whiteColor];
audioPlayer = [[STKAudioPlayer alloc] init];
audioPlayer = [[STKAudioPlayer alloc] initWithOptions:STKAudioPlayerOptionFlushQueueOnSeek];
audioPlayer.meteringEnabled = YES;
AudioPlayerView* audioPlayerView = [[AudioPlayerView alloc] initWithFrame:self.window.bounds];
+1 -1
View File
@@ -292,7 +292,7 @@
return audioPlayer;
}
-(void) audioPlayer:(STKAudioPlayer*)audioPlayer stateChanged:(STKAudioPlayerState)state
-(void) audioPlayer:(STKAudioPlayer*)audioPlayer stateChanged:(STKAudioPlayerState)state previousState:(STKAudioPlayerState)previousState
{
[self updateControls];
}