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