Skip to content

RDKEVD-6226: Cello - no-spdif output#226

Open
yeshwanth-nagaswamy wants to merge 1 commit intodevelopfrom
feature/RDKEVD-6226-spdif
Open

RDKEVD-6226: Cello - no-spdif output#226
yeshwanth-nagaswamy wants to merge 1 commit intodevelopfrom
feature/RDKEVD-6226-spdif

Conversation

@yeshwanth-nagaswamy
Copy link
Copy Markdown
Contributor

@yeshwanth-nagaswamy yeshwanth-nagaswamy requested a review from a team as a code owner March 17, 2026 12:23
Copilot AI review requested due to automatic review settings March 17, 2026 12:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR appears to be a debugging effort for RDKEVD-6226 (Cello - no-spdif output) that has been submitted as-is, containing only temporary debug instrumentation with no actual fix.

Changes:

  • Added temporary "YESH:" debug log statements in the SPDIF audio initialization path
  • Changed the global default log level from ERROR_LEVEL to DEBUG_LEVEL and altered INT_INFO to log at DEBUG_LEVEL
  • Added a debug trace in getSupportedTypes() to print audio output port types

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
rpc/srv/dsAudio.c Added two temporary "YESH:" debug log lines in SPDIF audio init path
ds/include/dslogger.h Changed default log level to DEBUG and altered INT_INFO macro semantics
ds/audioOutputPortConfig.cpp Added a temporary "YESH:" debug log in getSupportedTypes()

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

dllib = dlopen(RDK_DSHAL_NAME, RTLD_LAZY);
if (dllib) {
dsSetAudioLevelFunc = (dsSetAudioLevel_t) dlsym(dllib, "dsSetAudioLevel");
INT_DEBUG("YESH: dsSetAudioLevelFunc %d \r\n", dsSetAudioLevelFunc);
//SPDIF init
handle = 0;
if(dsGetAudioPort(dsAUDIOPORT_TYPE_SPDIF,0,&handle) == dsERR_NONE) {
INT_DEBUG("YESH: dsGetAudioPort of dsAUDIOPORT_TYPE_SPDIF handle received \r\n");

#ifndef DS_LOG_LEVEL
#define DS_LOG_LEVEL ERROR_LEVEL
#define DS_LOG_LEVEL DEBUG_LEVEL
#endif

#define INT_INFO(FORMAT, ...) ds_log(INFO_LEVEL, fileName(__FILE__), __LINE__, __FUNCTION__, FORMAT, ##__VA_ARGS__ )
#define INT_INFO(FORMAT, ...) ds_log(DEBUG_LEVEL, fileName(__FILE__), __LINE__, __FUNCTION__, FORMAT, ##__VA_ARGS__ )
{
List<AudioOutputPortType> supportedTypes;
for (std::vector<AudioOutputPortType>::const_iterator it = _aPortTypes.begin(); it != _aPortTypes.end(); it++) {
INT_ERROR("YESH: supportedTypes _aPortTypes *it %s enabled %d", *it, it->isEnabled());
@yeshwanth-nagaswamy yeshwanth-nagaswamy force-pushed the feature/RDKEVD-6226-spdif branch from f71f7f1 to a34a42b Compare March 17, 2026 19:49
@yeshwanth-nagaswamy yeshwanth-nagaswamy force-pushed the feature/RDKEVD-6226-spdif branch from a34a42b to 23bae5e Compare March 30, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants