mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-30 20:21:56 +00:00 
			
		
		
		
	 b34b253814
			
		
	
	b34b253814
	
	
	
		
			
			If a new playback is started while the previous playback is still flushing, we simply allow the stream to continue playing and effectively cancel the flush. In general this is not safe because there may not be enough data in the buffer to avoid underrunning. We could handle this better later by trying to insert the right number of silent samples into the buffer, but for now just completely stop the previous stream before starting the new one.