diff --git a/docs/generated/comments.json b/docs/generated/comments.json index 69cdfec0..a2c65054 100644 --- a/docs/generated/comments.json +++ b/docs/generated/comments.json @@ -1439,6 +1439,98 @@ "type": "class", "examples": [] }, + { + "subheads": [], + "description": "Set the audio sync offset of a specified source.", + "param": [ + "{String} `source` The name of the source.", + "{int} `offset` The desired audio sync offset (in nanoseconds)." + ], + "api": "requests", + "name": "SetSyncOffset", + "category": "sources", + "params": [ + { + "type": "String", + "name": "source", + "description": "The name of the source." + }, + { + "type": "int", + "name": "offset", + "description": "The desired audio sync offset (in nanoseconds)." + } + ], + "names": [ + { + "name": "", + "description": "SetSyncOffset" + } + ], + "categories": [ + { + "name": "", + "description": "sources" + } + ], + "heading": { + "level": 2, + "text": "SetSyncOffset" + }, + "lead": "", + "type": "class", + "examples": [] + }, + { + "subheads": [], + "description": "Get the audio sync offset of a specified source.", + "param": "{String} `source` The name of the source.", + "return": [ + "{String} `name` The name of the source.", + "{int} `offset` The audio sync offset (in nanoseconds)." + ], + "api": "requests", + "name": "GetSyncOffset", + "category": "sources", + "returns": [ + { + "type": "String", + "name": "name", + "description": "The name of the source." + }, + { + "type": "int", + "name": "offset", + "description": "The audio sync offset (in nanoseconds)." + } + ], + "params": [ + { + "type": "String", + "name": "source", + "description": "The name of the source." + } + ], + "names": [ + { + "name": "", + "description": "GetSyncOffset" + } + ], + "categories": [ + { + "name": "", + "description": "sources" + } + ], + "heading": { + "level": 2, + "text": "GetSyncOffset" + }, + "lead": "", + "type": "class", + "examples": [] + }, { "subheads": [], "description": "Sets the coordinates of a specified source item.", diff --git a/docs/generated/protocol.md b/docs/generated/protocol.md index 78685415..cfe900f7 100644 --- a/docs/generated/protocol.md +++ b/docs/generated/protocol.md @@ -96,6 +96,8 @@ auth_response = base64_encode(auth_response_hash) + [ToggleMute](#togglemute) + [SetMute](#setmute) + [GetMute](#getmute) + + [SetSyncOffset](#setsyncoffset) + + [GetSyncOffset](#getsyncoffset) + [SetSceneItemPosition](#setsceneitemposition) + [SetSceneItemTransform](#setsceneitemtransform) + [SetSceneItemCrop](#setsceneitemcrop) @@ -735,6 +737,45 @@ Get the mute status of a specified source. | `muted` | _boolean_ | Mute status of the source. | +--- + +### SetSyncOffset + +Set the audio sync offset of a specified source. + +**Request Fields:** + +| Name | Type | Description | +| ---- | :---: | ------------| +| `source` | _String_ | The name of the source. | +| `offset` | _int_ | The desired audio sync offset (in nanoseconds). | + + +**Response Items:** + +_No additional response items._ + +--- + +### GetSyncOffset + +Get the audio sync offset of a specified source. + +**Request Fields:** + +| Name | Type | Description | +| ---- | :---: | ------------| +| `source` | _String_ | The name of the source. | + + +**Response Items:** + +| Name | Type | Description | +| ---- | :---: | ------------| +| `name` | _String_ | The name of the source. | +| `offset` | _int_ | The audio sync offset (in nanoseconds). | + + --- ### SetSceneItemPosition