From 124e1eb641b5048a416b444ca4e666ee8cfcb602 Mon Sep 17 00:00:00 2001 From: "Stephen F. Booth" Date: Mon, 12 Oct 2009 21:11:38 -0700 Subject: [PATCH] Stop player when setting the stream --- AudioLibrary/AudioLibrary.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioLibrary/AudioLibrary.m b/AudioLibrary/AudioLibrary.m index 7029f60..f678993 100644 --- a/AudioLibrary/AudioLibrary.m +++ b/AudioLibrary/AudioLibrary.m @@ -1348,7 +1348,7 @@ - (void) playStreamAtIndex:(unsigned)index AudioStream *currentStream = [self nowPlaying]; -// [[self player] stop]; + [[self player] stop]; if(nil != currentStream) { NSNumber *skipCount = [currentStream valueForKey:StatisticsSkipCountKey];