mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
Add an option for mono mic capture in ZoomIt
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<local:NavigablePage
|
||||
<local:NavigablePage
|
||||
x:Class="Microsoft.PowerToys.Settings.UI.Views.ZoomItPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
@@ -281,6 +281,12 @@
|
||||
<tkcontrols:SettingsCard Name="ZoomItRecordCaptureAudio" ContentAlignment="Left">
|
||||
<CheckBox x:Uid="ZoomIt_Record_CaptureAudio" IsChecked="{x:Bind ViewModel.RecordCaptureAudio, Mode=TwoWay}" />
|
||||
</tkcontrols:SettingsCard>
|
||||
<tkcontrols:SettingsCard Name="ZoomItRecordMicMonoMix" ContentAlignment="Left">
|
||||
<CheckBox
|
||||
x:Uid="ZoomIt_Record_MicMonoMix"
|
||||
IsChecked="{x:Bind ViewModel.RecordMicMonoMix, Mode=TwoWay}"
|
||||
Visibility="{x:Bind ViewModel.RecordCaptureAudio, Mode=OneWay}" />
|
||||
</tkcontrols:SettingsCard>
|
||||
<tkcontrols:SettingsCard
|
||||
Name="ZoomItRecordMicrophone"
|
||||
x:Uid="ZoomIt_Record_Microphone"
|
||||
|
||||
@@ -4718,6 +4718,9 @@ The break timer font matches the text font.</value>
|
||||
<data name="ZoomIt_Record_CaptureAudio.Content" xml:space="preserve">
|
||||
<value>Capture audio input</value>
|
||||
</data>
|
||||
<data name="ZoomIt_Record_MicMonoMix.Content" xml:space="preserve">
|
||||
<value>Mono</value>
|
||||
</data>
|
||||
<data name="ZoomIt_Record_Microphone.Header" xml:space="preserve">
|
||||
<value>Microphone</value>
|
||||
</data>
|
||||
|
||||
@@ -878,6 +878,20 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public bool RecordMicMonoMix
|
||||
{
|
||||
get => _zoomItSettings.Properties.MicMonoMix.Value;
|
||||
set
|
||||
{
|
||||
if (_zoomItSettings.Properties.MicMonoMix.Value != value)
|
||||
{
|
||||
_zoomItSettings.Properties.MicMonoMix.Value = value;
|
||||
OnPropertyChanged(nameof(RecordMicMonoMix));
|
||||
NotifySettingsChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string RecordMicrophoneDeviceId
|
||||
{
|
||||
get => _zoomItSettings.Properties.MicrophoneDeviceId.Value;
|
||||
|
||||
Reference in New Issue
Block a user