Fix indent and respect previous rate
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							461209f344
						
					
				
				
					commit
					ed335f3b02
				
			| @@ -869,12 +869,12 @@ static int const RCTVideoUnset = -1; | |||||||
|       [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryAmbient error:nil]; |       [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryAmbient error:nil]; | ||||||
|     } |     } | ||||||
|      |      | ||||||
| 	if (@available(iOS 10.0, *) && !_automaticallyWaitsToMinimizeStalling) { |     if (@available(iOS 10.0, *) && !_automaticallyWaitsToMinimizeStalling) { | ||||||
| 		[_player playImmediatelyAtRate:1.0]; |       [_player playImmediatelyAtRate:_rate]; | ||||||
| 	} else { |     } else { | ||||||
| 		[_player play]; |       [_player play]; | ||||||
| 		[_player setRate:_rate]; |       [_player setRate:_rate]; | ||||||
| 	} |     } | ||||||
|     [_player setRate:_rate]; |     [_player setRate:_rate]; | ||||||
|   } |   } | ||||||
|    |    | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user