mirror of
				https://github.com/SoPat712/videospeed.git
				synced 2025-10-30 18:34:02 -04:00 
			
		
		
		
	set minimum speed to 0, closes #29
This commit is contained in:
		| @@ -135,7 +135,7 @@ chrome.extension.sendMessage({}, function(response) { | |||||||
|             } else if (action === 'slower') { |             } else if (action === 'slower') { | ||||||
|               // Audio playback is cut at 0.05: |               // Audio playback is cut at 0.05: | ||||||
|               // https://code.google.com/p/chromium/codesearch#chromium/src/media/filters/audio_renderer_algorithm.cc&l=49 |               // https://code.google.com/p/chromium/codesearch#chromium/src/media/filters/audio_renderer_algorithm.cc&l=49 | ||||||
|               var s = Math.max(v.playbackRate - tc.settings.speedStep, 0.05); |               var s = Math.max(v.playbackRate - tc.settings.speedStep, 0); | ||||||
|               setSpeed(v, s); |               setSpeed(v, s); | ||||||
|             } |             } | ||||||
|           } |           } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ilya Grigorik
					Ilya Grigorik