mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-30 23:09:01 +02:00
add audio input sink.
This commit is contained in:
parent
097e8d2a87
commit
ddf44cbeac
2 changed files with 11 additions and 2 deletions
|
@ -36,7 +36,7 @@ type Capture struct {
|
|||
|
||||
func (Capture) Init(cmd *cobra.Command) error {
|
||||
// audio
|
||||
cmd.PersistentFlags().String("capture.audio.device", "auto_null.monitor", "audio device to capture")
|
||||
cmd.PersistentFlags().String("capture.audio.device", "audio_output.monitor", "audio device to capture")
|
||||
if err := viper.BindPFlag("capture.audio.device", cmd.PersistentFlags().Lookup("capture.audio.device")); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue