Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion context_manager/src/ContextManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ see_client* ContextManager::SEE_Client_Get_Existing(uint32_t see_id)
client = it->second;
}
else {
PAL_ERR(LOG_TAG, "Error:%d see_id:%d doesnt exist", -EINVAL, see_id);
PAL_ERR(LOG_TAG, "Error:%d see_id:%d doesn't exist", -EINVAL, see_id);
}

PAL_VERBOSE(LOG_TAG, "Exit");
Expand Down
6 changes: 3 additions & 3 deletions device/HapticsDev/src/HapticsDevProtection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ int HapticsDevProtection::HapticsDevStartCalibration(int32_t operation_mode)
// TODO: Make this to wait in While loop
if (!mDspCallbackRcvd) {
if (cv.wait_for(calLock, std::chrono::seconds(3)) == std::cv_status::timeout) {
PAL_ERR(LOG_TAG, "Timeout occured! for VI calibration");
PAL_ERR(LOG_TAG, "Timeout occurred! for VI calibration");
goto done;
}
}
Expand Down Expand Up @@ -2291,7 +2291,7 @@ int32_t HapticsDevProtection::getAndsetPersistentParameter(bool flag)
if (!fp) {
PAL_ERR(LOG_TAG, "Unable to open file for write");
} else {
PAL_DBG(LOG_TAG, "Write the Vi persistant value to file");
PAL_DBG(LOG_TAG, "Write the Vi persistent value to file");
for (int i = 0; i < numberOfChannels; i++) {
PAL_INFO(LOG_TAG, "persistent values VIpeValue->Re_ohm_q24[i] =%d",VIpeValue->Re_ohm_q24[i]);
fwrite(&VIpeValue->Re_ohm_q24[i], sizeof(VIpeValue->Re_ohm_q24[i]),
Expand Down Expand Up @@ -2330,7 +2330,7 @@ int32_t HapticsDevProtection::getAndsetPersistentParameter(bool flag)
PAL_ERR(LOG_TAG," payload creation Failed\n");
return 0;
}
PAL_DBG(LOG_TAG, "update Vi persistant value from file");
PAL_DBG(LOG_TAG, "update Vi persistent value from file");
for (int i = 0; i < numberOfChannels; i++) {
fread(&VIpeValue->Re_ohm_q24[i], sizeof(VIpeValue->Re_ohm_q24[i]),
1, fp);
Expand Down
2 changes: 1 addition & 1 deletion device/Speaker/src/SpeakerProtectionwsa883x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ int SpeakerProtectionwsa883x::viTxSetupThreadLoop()
config.channels = CHANNELS_2;
break;
default:
PAL_DBG(LOG_TAG, "Unsupported channel. Set defauly as 2");
PAL_DBG(LOG_TAG, "Unsupported channel. Set default as 2");
ch_info.channels = CHANNELS_2;
config.channels = CHANNELS_2;
}
Expand Down
2 changes: 1 addition & 1 deletion device/Speaker/src/SpeakerProtectionwsa884x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ int SpeakerProtectionwsa884x::viTxSetupThreadLoop()
config.channels = CHANNELS_2;
break;
default:
PAL_DBG(LOG_TAG, "Unsupported channel. Set defauly as 2");
PAL_DBG(LOG_TAG, "Unsupported channel. Set default as 2");
ch_info.channels = CHANNELS_2;
config.channels = CHANNELS_2;
}
Expand Down
2 changes: 1 addition & 1 deletion device/Speaker/src/SpeakerProtectionwsa885x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ int SpeakerProtectionwsa885x::viTxSetupThreadLoop()
config.channels = CHANNELS_2;
break;
default:
PAL_DBG(LOG_TAG, "Unsupported channel. Set defauly as 2");
PAL_DBG(LOG_TAG, "Unsupported channel. Set default as 2");
ch_info.channels = CHANNELS_2;
config.channels = CHANNELS_2;
}
Expand Down
2 changes: 1 addition & 1 deletion device/Speaker/src/SpeakerProtectionwsa885xI2s.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ int SpeakerProtectionwsa885xI2s::viTxSetupThreadLoop()
config.channels = CHANNELS_4;
break;
default:
PAL_DBG(LOG_TAG, "Unsupported channel. Set defauly as 4");
PAL_DBG(LOG_TAG, "Unsupported channel. Set default as 4");
ch_info.channels = CHANNELS_4;
config.channels = CHANNELS_4;
}
Expand Down
2 changes: 1 addition & 1 deletion inc/PalDefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ typedef enum {
PAL_PARAM_ID_RECOGNITION_CONFIG = 1,
PAL_PARAM_ID_ECNS_ON_OFF = 2,
PAL_PARAM_ID_DIRECTION_OF_ARRIVAL = 3,
PAL_PARAM_ID_UIEFFECT = 4, /*deprecated please dont use*/
PAL_PARAM_ID_UIEFFECT = 4, /*deprecated please don't use*/
PAL_PARAM_ID_STOP_BUFFERING = 5,
PAL_PARAM_ID_CODEC_CONFIGURATION = 6,
/* Non-Stream Specific Parameters*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ int compressSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pl
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ int32_t pcmPluginConfigSetConfigStop(Stream* s, void* pluginPayload)
PAL_DBG(LOG_TAG, "case PAL_AUDIO_OUTPUT:\n");
if (session->getIsPauseRegistrationDone()) {
// Stream supports Soft Pause and was registered with RM
// sucessfully. Thus Deregister callback for Soft Pause
// successfully. Thus Deregister callback for Soft Pause
payload_size = sizeof(struct agm_event_reg_cfg);
memset(&event_cfg, 0, sizeof(event_cfg));
event_cfg.event_id = EVENT_ID_SOFT_PAUSE_PAUSE_COMPLETE;
Expand Down Expand Up @@ -1760,7 +1760,7 @@ int pcmSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pluginP
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ int voiceSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * plugin
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t) +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ int enableSilenceDetection(const std::shared_ptr<ResourceManager> rm,
}
PAL_INFO(LOG_TAG, "Registered CB for Silence Detection\n");
silenceEventRegistered = true;
PAL_INFO(LOG_TAG, "Silence Detection setup sucessfully \n");
PAL_INFO(LOG_TAG, "Silence Detection setup successfully \n");

goto silence_ev_setup_done;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ int32_t pcmPluginConfigSetConfigStart(Stream* s, void* pluginPayload)
pcmDevIds.at(0), txAifBackEnds[0].second.data(),
DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
goto err_silence_ev_setup;
}

Expand Down Expand Up @@ -1246,7 +1246,7 @@ int32_t pcmPluginConfigSetConfigStop(Stream* s, void* pluginPayload)
PAL_DBG(LOG_TAG, "case PAL_AUDIO_OUTPUT:\n");
if (session->getIsPauseRegistrationDone()) {
// Stream supports Soft Pause and was registered with RM
// sucessfully. Thus Deregister callback for Soft Pause
// successfully. Thus Deregister callback for Soft Pause
payload_size = sizeof(struct agm_event_reg_cfg);
memset(&event_cfg, 0, sizeof(event_cfg));
event_cfg.event_id = EVENT_ID_SOFT_PAUSE_PAUSE_COMPLETE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ int compressSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pl
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ int32_t pcmPluginConfigSetConfigStop(Stream* s, void* pluginPayload)
PAL_DBG(LOG_TAG, "case PAL_AUDIO_OUTPUT:\n");
if (session->getIsPauseRegistrationDone()) {
// Stream supports Soft Pause and was registered with RM
// sucessfully. Thus Deregister callback for Soft Pause
// successfully. Thus Deregister callback for Soft Pause
payload_size = sizeof(struct agm_event_reg_cfg);
memset(&event_cfg, 0, sizeof(event_cfg));
event_cfg.event_id = EVENT_ID_SOFT_PAUSE_PAUSE_COMPLETE;
Expand Down Expand Up @@ -1683,7 +1683,7 @@ int pcmSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pluginP
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ int voiceSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * plugin
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t) +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ int enableSilenceDetection(const std::shared_ptr<ResourceManager> rm,
}
PAL_INFO(LOG_TAG, "Registered CB for Silence Detection\n");
silenceEventRegistered = true;
PAL_INFO(LOG_TAG, "Silence Detection setup sucessfully \n");
PAL_INFO(LOG_TAG, "Silence Detection setup successfully \n");

goto silence_ev_setup_done;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ int compressSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pl
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ int32_t pcmPluginConfigSetConfigStop(Stream* s, void* pluginPayload)
PAL_DBG(LOG_TAG, "case PAL_AUDIO_OUTPUT:\n");
if (session->getIsPauseRegistrationDone()) {
// Stream supports Soft Pause and was registered with RM
// sucessfully. Thus Deregister callback for Soft Pause
// successfully. Thus Deregister callback for Soft Pause
payload_size = sizeof(struct agm_event_reg_cfg);
memset(&event_cfg, 0, sizeof(event_cfg));
event_cfg.event_id = EVENT_ID_SOFT_PAUSE_PAUSE_COMPLETE;
Expand Down Expand Up @@ -1683,7 +1683,7 @@ int pcmSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pluginP
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ int voiceSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * plugin
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t) +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ int enableSilenceDetection(const std::shared_ptr<ResourceManager> rm,
}
PAL_INFO(LOG_TAG, "Registered CB for Silence Detection\n");
silenceEventRegistered = true;
PAL_INFO(LOG_TAG, "Silence Detection setup sucessfully \n");
PAL_INFO(LOG_TAG, "Silence Detection setup successfully \n");

goto silence_ev_setup_done;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ int compressSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pl
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ int32_t pcmPluginConfigSetConfigStop(Stream* s, void* pluginPayload)
PAL_DBG(LOG_TAG, "case PAL_AUDIO_OUTPUT:\n");
if (session->getIsPauseRegistrationDone()) {
// Stream supports Soft Pause and was registered with RM
// sucessfully. Thus Deregister callback for Soft Pause
// successfully. Thus Deregister callback for Soft Pause
payload_size = sizeof(struct agm_event_reg_cfg);
memset(&event_cfg, 0, sizeof(event_cfg));
event_cfg.event_id = EVENT_ID_SOFT_PAUSE_PAUSE_COMPLETE;
Expand Down Expand Up @@ -1683,7 +1683,7 @@ int pcmSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pluginP
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@ int voiceSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * plugin
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t) +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ int enableSilenceDetection(const std::shared_ptr<ResourceManager> rm,
}
PAL_INFO(LOG_TAG, "Registered CB for Silence Detection\n");
silenceEventRegistered = true;
PAL_INFO(LOG_TAG, "Silence Detection setup sucessfully \n");
PAL_INFO(LOG_TAG, "Silence Detection setup successfully \n");

goto silence_ev_setup_done;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ int compressSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pl
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ int32_t pcmPluginConfigSetConfigStop(Stream* s, void* pluginPayload)
PAL_DBG(LOG_TAG, "case PAL_AUDIO_OUTPUT:\n");
if (session->getIsPauseRegistrationDone()) {
// Stream supports Soft Pause and was registered with RM
// sucessfully. Thus Deregister callback for Soft Pause
// successfully. Thus Deregister callback for Soft Pause
payload_size = sizeof(struct agm_event_reg_cfg);
memset(&event_cfg, 0, sizeof(event_cfg));
event_cfg.event_id = EVENT_ID_SOFT_PAUSE_PAUSE_COMPLETE;
Expand Down Expand Up @@ -1408,7 +1408,7 @@ int pcmSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pluginP
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ int voiceSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * plugin
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t) +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ int enableSilenceDetection(const std::shared_ptr<ResourceManager> rm,
}
PAL_INFO(LOG_TAG, "Registered CB for Silence Detection\n");
silenceEventRegistered = true;
PAL_INFO(LOG_TAG, "Silence Detection setup sucessfully \n");
PAL_INFO(LOG_TAG, "Silence Detection setup successfully \n");

goto silence_ev_setup_done;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ int compressSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pl
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ int32_t pcmPluginConfigSetConfigStop(Stream* s, void* pluginPayload)
PAL_DBG(LOG_TAG, "case PAL_AUDIO_OUTPUT:\n");
if (session->getIsPauseRegistrationDone()) {
// Stream supports Soft Pause and was registered with RM
// sucessfully. Thus Deregister callback for Soft Pause
// successfully. Thus Deregister callback for Soft Pause
payload_size = sizeof(struct agm_event_reg_cfg);
memset(&event_cfg, 0, sizeof(event_cfg));
event_cfg.event_id = EVENT_ID_SOFT_PAUSE_PAUSE_COMPLETE;
Expand Down Expand Up @@ -1658,7 +1658,7 @@ int pcmSilenceDetectionConfig(uint8_t config, pal_device *dAttr, void * pluginP
status = SessionAlsaUtils::getModuleInstanceId(mxr,
pcmDevIds.at(0), txAifBackEnds[0].second.data(), DEVICE_HW_ENDPOINT_TX, &miid);
if (status != 0) {
PAL_ERR(LOG_TAG, "Error retriving MIID for HW_ENDPOINT_TX\n");
PAL_ERR(LOG_TAG, "Error retrieving MIID for HW_ENDPOINT_TX\n");
return -SD_ENABLE;
}
payloadSize = sizeof(struct apm_module_param_data_t)+sizeof(param_id_silence_detection_t);
Expand Down
Loading
Loading