events: fix docs

This commit is contained in:
Stéphane L 2019-04-20 23:56:15 +02:00
parent fa50008f3d
commit 84ef3f223d

View File

@ -29,12 +29,6 @@
#define STATUS_INTERVAL 2000
/**
* @typedef {Object} `SourceRoutingStatus`
* @property {int} `id` Mixer number
* @property {boolean} `enabled` Routing status
*/
bool transitionIsCut(obs_source_t* transition) {
if (!transition)
return false;
@ -937,7 +931,9 @@ void WSEvents::OnSourceAudioSyncOffsetChanged(void* param, calldata_t* data) {
* Audio mixer routing changed on a source.
*
* @return {String} `sourceName` Source name
* @return {Array<SourceRoutingStatus>} `routingStatus` Routing status of the source for each audio mixer (array of 6 values)
* @return {Array<Object>} `routingStatus` Routing status of the source for each audio mixer (array of 6 values)
* @return {int} `routingStatus.*.id` Mixer number
* @return {boolean} `routingStatus.*.enabled` Routing status
* @return {String} `hexMixersValue` Raw mixer flags (little-endian, one bit per mixer) as an hexadecimal value
*
* @api events