mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-25 02:23:04 +00:00 
			
		
		
		
	Fix Piped Audio Input Ends Prematurely
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
This commit is contained in:
		| @@ -210,7 +210,8 @@ class FFmpegAudio(AudioSource): | |||||||
|             # arbitrarily large read size |             # arbitrarily large read size | ||||||
|             data = source.read(8192) |             data = source.read(8192) | ||||||
|             if not data: |             if not data: | ||||||
|                 self._process.terminate() |                 if self._stdin is not None: | ||||||
|  |                     self._stdin.close() | ||||||
|                 return |                 return | ||||||
|             try: |             try: | ||||||
|                 if self._stdin is not None: |                 if self._stdin is not None: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user