gemini changes 2
This commit is contained in:
@@ -32,7 +32,7 @@ class CallRecorder:
|
||||
cmd = [
|
||||
"ffmpeg", "-y",
|
||||
"-f", "pulse",
|
||||
"-i", "default.monitor",
|
||||
"-i", "default",
|
||||
"-acodec", "libmp3lame",
|
||||
"-ar", "22050",
|
||||
"-b:a", "32k",
|
||||
|
||||
@@ -113,7 +113,7 @@ class RadioBot:
|
||||
# Read directly from PulseAudio monitor (zero-delay, no Icecast buffer).
|
||||
# PULSE_SERVER is set in the container environment to the shared socket.
|
||||
source = discord.FFmpegPCMAudio(
|
||||
"default.monitor",
|
||||
"default",
|
||||
before_options="-f pulse",
|
||||
)
|
||||
self._voice_client.play(
|
||||
|
||||
Reference in New Issue
Block a user