mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-14 09:47:30 -05:00
Mute Audio Option (-o null)
This commit is contained in:
@@ -1596,12 +1596,18 @@ main (int argc, char **argv)
|
||||
|
||||
if((strncmp(opts.audio_in_dev, "pulse", 5) == 0))
|
||||
{
|
||||
opts.audio_in_type == 0;
|
||||
opts.audio_in_type = 0;
|
||||
}
|
||||
|
||||
if((strncmp(opts.audio_out_dev, "pulse", 5) == 0))
|
||||
{
|
||||
opts.audio_out_type == 0;
|
||||
opts.audio_out_type = 0;
|
||||
}
|
||||
|
||||
if((strncmp(opts.audio_out_dev, "null", 4) == 0))
|
||||
{
|
||||
opts.audio_out_type = 9; //9 for NULL, or mute output
|
||||
opts.audio_out = 0; //turn off so we won't playSynthesized
|
||||
}
|
||||
|
||||
if (opts.playfiles == 1)
|
||||
|
||||
Reference in New Issue
Block a user