Skip to content

Commit c409df2

Browse files
committed
Add realtime commands to readme
1 parent 556d006 commit c409df2

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

ObsExpressCpp.sln

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ VisualStudioVersion = 17.1.32319.34
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ObsExpressCpp", "ObsExpressCpp.vcxproj", "{AB677678-5476-4E54-AC70-F4237823AF50}"
77
EndProject
8+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F200E3F9-0DC0-4B5D-9861-2BEE96FDC80B}"
9+
ProjectSection(SolutionItems) = preProject
10+
configure-obs.ps1 = configure-obs.ps1
11+
LICENSE = LICENSE
12+
pack-release.ps1 = pack-release.ps1
13+
README.md = README.md
14+
EndProjectSection
15+
EndProject
816
Global
917
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1018
Debug|x64 = Debug|x64

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,21 @@ The command line help is as follows:
2828

2929
The only required parameters are `captureRegion` and `output`.
3030

31-
Both the `speakers` and `microphone` parameters can be specified more than once, to record multiple devices. They support `default` being passed in as the value to use the default device, or the `{ID}` of the device as returned from `MMDeviceEnumerator`.
31+
Both the `speakers` and `microphone` parameters can be specified more than once, to record multiple devices.
32+
They support `default` being passed in as the value to use the default device, or the `{ID}` of the device as returned from `MMDeviceEnumerator`.
33+
Maximum 5 simultaneous audio devices.
34+
35+
### Realtime Commands
36+
37+
While the recorder is running, you can provide the following commands via stdin:
38+
39+
- `q` or `Ctrl+C`: Stop recording and quit.
40+
- `mute`: Mutes an audio device. Must provide the device type and index (order in which it was provided in command line arguments).
41+
Examples:
42+
- Mute the first speaker device: `mute s 0`
43+
- Mute the second microphone device: `mute m 1`
44+
- `unmute`: Unmutes an audio device. Same syntax as `mute`.
3245

33-
Type 'q' and Enter, or 'Ctrl+C' to stop an in-progress recording.
3446

3547
### Compiling
3648

0 commit comments

Comments
 (0)