mirror of
https://github.com/paul-nameless/tg
synced 2024-11-25 05:10:22 +00:00
Merge pull request #95 from paul-nameless/change-ffmpeg-cmd-linux
Change default ffmpeg cmd for Linux
This commit is contained in:
commit
9c155811f5
1 changed files with 2 additions and 1 deletions
|
@ -36,8 +36,9 @@ NOTIFY_CMD = "/usr/local/bin/terminal-notifier -title {title} -subtitle {subtitl
|
|||
HELP_CMD = "less"
|
||||
|
||||
if _os_name == _linux:
|
||||
# for more info see https://trac.ffmpeg.org/wiki/Capture/ALSA
|
||||
VOICE_RECORD_CMD = (
|
||||
"ffmpeg -f alsa -i default -c:a libopus -b:a 32k {file_path}"
|
||||
"ffmpeg -f alsa -i hw:0 -c:a libopus -b:a 32k {file_path}"
|
||||
)
|
||||
else:
|
||||
VOICE_RECORD_CMD = (
|
||||
|
|
Loading…
Reference in a new issue