mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
RequestBatchExecutionType: Change executionType values
Fits better for the front-facing API.
This commit is contained in:
parent
b66d2284b3
commit
c9c5da6837
@ -142,7 +142,7 @@
|
||||
"rpcVersion": "1",
|
||||
"deprecated": false,
|
||||
"initialVersion": "5.0.0",
|
||||
"enumValue": 0
|
||||
"enumValue": "-1"
|
||||
},
|
||||
{
|
||||
"description": "A request batch which processes all requests serially, as fast as possible.\n\nNote: To introduce artificial delay, use the `Sleep` request and the `sleepMillis` request field.",
|
||||
@ -150,7 +150,7 @@
|
||||
"rpcVersion": "1",
|
||||
"deprecated": false,
|
||||
"initialVersion": "5.0.0",
|
||||
"enumValue": 1
|
||||
"enumValue": 0
|
||||
},
|
||||
{
|
||||
"description": "A request batch type which processes all requests serially, in sync with the graphics thread. Designed to provide high accuracy for animations.\n\nNote: To introduce artificial delay, use the `Sleep` request and the `sleepFrames` request field.",
|
||||
@ -158,7 +158,7 @@
|
||||
"rpcVersion": "1",
|
||||
"deprecated": false,
|
||||
"initialVersion": "5.0.0",
|
||||
"enumValue": 2
|
||||
"enumValue": 1
|
||||
},
|
||||
{
|
||||
"description": "A request batch type which processes all requests using all available threads in the thread pool.\n\nNote: This is mainly experimental, and only really shows its colors during requests which require lots of\nactive processing, like `GetSourceScreenshot`.",
|
||||
@ -166,7 +166,7 @@
|
||||
"rpcVersion": "1",
|
||||
"deprecated": false,
|
||||
"initialVersion": "5.0.0",
|
||||
"enumValue": 3
|
||||
"enumValue": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -696,7 +696,7 @@ A requested feature is not supported due to hardware/software limitations.
|
||||
|
||||
Not a request batch.
|
||||
|
||||
- Identifier Value: `0`
|
||||
- Identifier Value: `-1`
|
||||
- Latest Supported RPC Version: `1`
|
||||
- Added in v5.0.0
|
||||
|
||||
@ -708,7 +708,7 @@ A request batch which processes all requests serially, as fast as possible.
|
||||
|
||||
Note: To introduce artificial delay, use the `Sleep` request and the `sleepMillis` request field.
|
||||
|
||||
- Identifier Value: `1`
|
||||
- Identifier Value: `0`
|
||||
- Latest Supported RPC Version: `1`
|
||||
- Added in v5.0.0
|
||||
|
||||
@ -720,7 +720,7 @@ A request batch type which processes all requests serially, in sync with the gra
|
||||
|
||||
Note: To introduce artificial delay, use the `Sleep` request and the `sleepFrames` request field.
|
||||
|
||||
- Identifier Value: `2`
|
||||
- Identifier Value: `1`
|
||||
- Latest Supported RPC Version: `1`
|
||||
- Added in v5.0.0
|
||||
|
||||
@ -733,7 +733,7 @@ A request batch type which processes all requests using all available threads in
|
||||
Note: This is mainly experimental, and only really shows its colors during requests which require lots of
|
||||
active processing, like `GetSourceScreenshot`.
|
||||
|
||||
- Identifier Value: `3`
|
||||
- Identifier Value: `2`
|
||||
- Latest Supported RPC Version: `1`
|
||||
- Added in v5.0.0
|
||||
## RequestStatus
|
||||
|
@ -27,26 +27,26 @@ namespace RequestBatchExecutionType {
|
||||
* Not a request batch.
|
||||
*
|
||||
* @enumIdentifier None
|
||||
* @enumValue 0
|
||||
* @enumValue -1
|
||||
* @enumType RequestBatchExecutionType
|
||||
* @rpcVersion -1
|
||||
* @initialVersion 5.0.0
|
||||
* @api enums
|
||||
*/
|
||||
None = 0,
|
||||
None = -1,
|
||||
/**
|
||||
* A request batch which processes all requests serially, as fast as possible.
|
||||
*
|
||||
* Note: To introduce artificial delay, use the `Sleep` request and the `sleepMillis` request field.
|
||||
*
|
||||
* @enumIdentifier SerialRealtime
|
||||
* @enumValue 1
|
||||
* @enumValue 0
|
||||
* @enumType RequestBatchExecutionType
|
||||
* @rpcVersion -1
|
||||
* @initialVersion 5.0.0
|
||||
* @api enums
|
||||
*/
|
||||
SerialRealtime = 1,
|
||||
SerialRealtime = 0,
|
||||
/**
|
||||
* A request batch type which processes all requests serially, in sync with the graphics thread. Designed to
|
||||
* provide high accuracy for animations.
|
||||
@ -54,13 +54,13 @@ namespace RequestBatchExecutionType {
|
||||
* Note: To introduce artificial delay, use the `Sleep` request and the `sleepFrames` request field.
|
||||
*
|
||||
* @enumIdentifier SerialFrame
|
||||
* @enumValue 2
|
||||
* @enumValue 1
|
||||
* @enumType RequestBatchExecutionType
|
||||
* @rpcVersion -1
|
||||
* @initialVersion 5.0.0
|
||||
* @api enums
|
||||
*/
|
||||
SerialFrame = 2,
|
||||
SerialFrame = 1,
|
||||
/**
|
||||
* A request batch type which processes all requests using all available threads in the thread pool.
|
||||
*
|
||||
@ -68,13 +68,13 @@ namespace RequestBatchExecutionType {
|
||||
* active processing, like `GetSourceScreenshot`.
|
||||
*
|
||||
* @enumIdentifier Parallel
|
||||
* @enumValue 3
|
||||
* @enumValue 2
|
||||
* @enumType RequestBatchExecutionType
|
||||
* @rpcVersion -1
|
||||
* @initialVersion 5.0.0
|
||||
* @api enums
|
||||
*/
|
||||
Parallel = 3,
|
||||
Parallel = 2,
|
||||
};
|
||||
|
||||
inline bool IsValid(uint8_t executionType)
|
||||
|
Loading…
Reference in New Issue
Block a user