mirror of
https://github.com/xlmnxp/blue-recorder.git
synced 2025-03-31 14:54:54 +03:00
fix speaker record
This commit is contained in:
parent
1cd925a0bb
commit
471f5a595d
@ -240,7 +240,7 @@ impl Ffmpeg {
|
||||
.to_string();
|
||||
let mut ffmpeg_command = FfmpegCommand::new();
|
||||
ffmpeg_command.format("dshow")
|
||||
.input(format!("audio={}", &self.audio_input_id))
|
||||
.input(format!("audio={}", &self.audio_output_id))
|
||||
.format("ogg");
|
||||
// Remove metadate
|
||||
ffmpeg_command.args(["-map_metadata", "-1"]);
|
||||
@ -628,7 +628,7 @@ impl Ffmpeg {
|
||||
.to_string();
|
||||
let mut ffmpeg_command = FfmpegCommand::new();
|
||||
ffmpeg_command.format("dshow")
|
||||
.input(format!("audio={}", &self.audio_input_id))
|
||||
.input(format!("audio=\"{}\"", &self.audio_output_id))
|
||||
.format("ogg");
|
||||
// Remove metadate
|
||||
ffmpeg_command.args(["-map_metadata", "-1"]);
|
||||
|
Loading…
Reference in New Issue
Block a user