Skip to content

Commit

Permalink
gh #288 dsSetDialogEnhancement test update
Browse files Browse the repository at this point in the history
* Updated Mid Value calculation logic.
  • Loading branch information
akhilbhas committed Feb 4, 2025
1 parent 2fdd42a commit dd0b5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test_l1_dsAudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ void test_l1_dsAudio_positive_dsSetDialogEnhancement(void)
{
min_de_level = gDSAudioPortConfiguration[i].min_dialog_enhancement_level;
max_de_level = gDSAudioPortConfiguration[i].max_dialog_enhancement_level;
mid_de_level = (mid_de_level + max_de_level)/2
mid_de_level = (min_de_level + max_de_level)/2

result = dsGetAudioPort(gDSAudioPortConfiguration[i].typeid, gDSAudioPortConfiguration[i].index, &handle);
UT_ASSERT_EQUAL(result, dsERR_NONE);
Expand Down

0 comments on commit dd0b5ab

Please sign in to comment.