diff --git a/docs/generated/comments.json b/docs/generated/comments.json index 613a4ded..6695b0b5 100644 --- a/docs/generated/comments.json +++ b/docs/generated/comments.json @@ -2952,7 +2952,7 @@ "subheads": [], "description": "List all sources available in the running OBS instance", "return": [ - "{Array} `sources` Array of sources as objects", + "{Array} `sources` Array of sources", "{String} `sources.*.name` Unique source name", "{String} `sources.*.typeId` Non-unique source internal type (a.k.a type id)", "{String} `sources.*.type` Source type. Value is one of the following: \"input\", \"filter\", \"transition\", \"scene\" or \"unknown\"" @@ -2965,7 +2965,7 @@ { "type": "Array", "name": "sources", - "description": "Array of sources as objects" + "description": "Array of sources" }, { "type": "String", @@ -3013,7 +3013,7 @@ "subheads": [], "description": "Get a list of all available sources types", "return": [ - "{Array} `ids` Array of source types as objects", + "{Array} `ids` Array of source types", "{String} `ids.*.typeId` Non-unique internal source type ID", "{String} `ids.*.displayName` Display name of the source type", "{String} `ids.*.type` Type. Value is one of the following: \"input\", \"filter\", \"transition\" or \"other\"", @@ -3035,7 +3035,7 @@ { "type": "Array", "name": "ids", - "description": "Array of source types as objects" + "description": "Array of source types" }, { "type": "String", @@ -5803,7 +5803,7 @@ "subheads": [], "typedef": "{Object} `Source` An OBS Scene Item.", "property": [ - "{Number} `cy` -", + "{Number} `cy`", "{Number} `cx`", "{String} `name` The name of this Scene Item.", "{Boolean} `render` Whether or not this Scene Item is set to \"visible\".", diff --git a/docs/generated/protocol.md b/docs/generated/protocol.md index 69f44bef..dffbaf01 100644 --- a/docs/generated/protocol.md +++ b/docs/generated/protocol.md @@ -1427,7 +1427,7 @@ _No specified parameters._ | Name | Type | Description | | ---- | :---: | ------------| -| `sources` | _Array<Object>_ | Array of sources as objects | +| `sources` | _Array<Object>_ | Array of sources | | `sources.*.name` | _String_ | Unique source name | | `sources.*.typeId` | _String_ | Non-unique source internal type (a.k.a type id) | | `sources.*.type` | _String_ | Source type. Value is one of the following: "input", "filter", "transition", "scene" or "unknown" | @@ -1450,7 +1450,7 @@ _No specified parameters._ | Name | Type | Description | | ---- | :---: | ------------| -| `ids` | _Array<Object>_ | Array of source types as objects | +| `ids` | _Array<Object>_ | Array of source types | | `ids.*.typeId` | _String_ | Non-unique internal source type ID | | `ids.*.displayName` | _String_ | Display name of the source type | | `ids.*.type` | _String_ | Type. Value is one of the following: "input", "filter", "transition" or "other" | diff --git a/src/WSRequestHandler_Sources.cpp b/src/WSRequestHandler_Sources.cpp index ce0c83a5..bf62bbdf 100644 --- a/src/WSRequestHandler_Sources.cpp +++ b/src/WSRequestHandler_Sources.cpp @@ -20,7 +20,7 @@ /** * List all sources available in the running OBS instance * -* @return {Array} `sources` Array of sources as objects +* @return {Array} `sources` Array of sources * @return {String} `sources.*.name` Unique source name * @return {String} `sources.*.typeId` Non-unique source internal type (a.k.a type id) * @return {String} `sources.*.type` Source type. Value is one of the following: "input", "filter", "transition", "scene" or "unknown" @@ -78,7 +78,7 @@ void WSRequestHandler::HandleGetSourcesList(WSRequestHandler* req) { /** * Get a list of all available sources types * -* @return {Array} `ids` Array of source types as objects +* @return {Array} `ids` Array of source types * @return {String} `ids.*.typeId` Non-unique internal source type ID * @return {String} `ids.*.displayName` Display name of the source type * @return {String} `ids.*.type` Type. Value is one of the following: "input", "filter", "transition" or "other"