Skip to content

CPESP-7136: DS audio setting for capability - #166

Closed
santoshcomcast wants to merge 7 commits into
mainfrom
topic/CPESP-7136-ds-audiosetting-vedor-support
Closed

CPESP-7136: DS audio setting for capability#166
santoshcomcast wants to merge 7 commits into
mainfrom
topic/CPESP-7136-ds-audiosetting-vedor-support

Conversation

@santoshcomcast

Copy link
Copy Markdown

No description provided.

Signed-off-by: apatel859 <amit_patel5@comcast.com>
Comment thread include/dsVideoDevice.h Outdated
Comment thread include/dsVideoPort.h Outdated
Comment thread include/dsVideoPort.h
Signed-off-by: gsanto722 <grandhi_santoshkumar@comcast.com>
Signed-off-by: gsanto722 <grandhi_santoshkumar@comcast.com>
Comment thread include/dsFPD.h Outdated
Comment thread include/dsVideoDevice.h Outdated
Signed-off-by: gsanto722 <grandhi_santoshkumar@comcast.com>
Signed-off-by: gsanto722 <grandhi_santoshkumar@comcast.com>

@santoshcomcast santoshcomcast left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed all the comments. Please review.

Signed-off-by: gsanto722 <grandhi_santoshkumar@comcast.com>
Comment thread include/dsAudio.h Outdated
* @note The caller is responsible for ensuring the validity of the pointers passed to this function.
* Ensure that the array pointed to by `kSupportedPortTypes` is large enough to hold all supported port types.
*/
dsError_t getSupportedAudioOutputPorts(dsAudioPortType_t* kSupportedPortTypes, int* numAudioPorts);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we prefix the APIs with ds to maintain consistency ?

Comment thread include/dsAudio.h Outdated
{
size_t numAudioCapabilities;
uint16_t audioCapabilities[AUDIO_MAX_CAPABILITIES];
size_t numAudioPortTypeSupported;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are querying audio features per port. Why you need these additional things ? We only need to maintain 1 audioFeatures_t structure I think.

Comment thread include/dsVideoDevice.h Outdated
size_t numVideoDeviceCapabilities;
uint16_t videoDeviceCapabilities[VIDEO_DEVICE_MAX_CAPABILITIES];
videoDeviceFeatures_t videoDevFeatures;
}videoDeviceSupportedFeatures_t;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I don't understand the rationale behind maintaining 2 structures. You are already querying a feature per video device.

Signed-off-by: grandhi_santoshkumar <grandhi_santoshkumar@comcast.com>
Comment thread include/dsAudio.h
size_t numConnectedVOPs;
dsVideoPortPortId_t connectedVOPs[dsVIDEOPORT_TYPE_MAX];
}dsAudioFeatures_t;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for consistency, should we move the structure to dsAVDtypes.h ?

Comment thread include/dsVideoDevice.h
size_t numSupportedDFCs;
dsVideoZoom_t supportedDFCs[dsVIDEO_ZOOM_MAX];
dsVideoZoom_t defaultDFC;
}dsVideoDeviceFeatures_t;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency can we move the structure to : dsVideoDeviceTypes.h ?

Comment thread include/dsVideoPort.h
int8_t defaultResIndex; // Index of the default resolution
size_t numconnectedAOPs; // Number of connected audio output ports
uint8_t connectedAOP[dsAUDIOPORT_TYPE_MAX]; // Array of connected audio output ports
} dsVideoPortFeatures_t;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency , can we please move the structure to dsAVDtypes.h ?

Comment thread include/dsVideoPort.h
* @return dsError_t Returns an error code indicating the success or failure of the operation.
* Possible values include dsERR_NONE for success or other error codes for failure.
*/
dsError_t getSupportedVideoPorts(dsVideoPortType_t* kSupportedVideoPorts, int* numAudioPorts);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please prefix with ds

@ddevadas53276

Copy link
Copy Markdown

@santoshcomcast please raise PR against develop branch and also create a github issue. You can use the CPESP ticket for internal tracking.

@santoshcomcast

Copy link
Copy Markdown
Author

Addressed and created new PR from develop. So closed this PR.
#169

@github-actions github-actions Bot locked and limited conversation to collaborators Aug 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants