music: fix encoder args
This commit is contained in:
		
							parent
							
								
									d1c7903541
								
							
						
					
					
						commit
						ffceb06259
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -329,7 +329,9 @@ async function enqueue({
 | 
				
			||||||
    await connection.play(media, {
 | 
					    await connection.play(media, {
 | 
				
			||||||
      inlineVolume: true,
 | 
					      inlineVolume: true,
 | 
				
			||||||
      voiceDataTimeout: -1,
 | 
					      voiceDataTimeout: -1,
 | 
				
			||||||
      encoderArgs: speex ? ["-acodec speex", "-b:a 8000", "-ar 8000"] : null,
 | 
					      encoderArgs: speex
 | 
				
			||||||
 | 
					        ? ["-acodec", "speex", "-b:a", "8000", "-ar", "8000"]
 | 
				
			||||||
 | 
					        : null,
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    textChannel.createMessage({
 | 
					    textChannel.createMessage({
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue