Skip to content

Commit

Permalink
Stop player when setting the stream
Browse files Browse the repository at this point in the history
  • Loading branch information
sbooth committed Oct 13, 2009
1 parent aed268c commit 124e1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AudioLibrary/AudioLibrary.m
Expand Up @@ -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];
Expand Down

0 comments on commit 124e1eb

Please sign in to comment.