Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh #283 dsGetMS12AudioProfile,dsGetMS12AudioProfileList fix. #290

Merged
Merged
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
4 changes: 2 additions & 2 deletions src/test_l1_dsAudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -3834,7 +3834,7 @@ void test_l1_dsAudio_positive_dsGetMS12AudioProfileList(void)

// Step 05: compare the values of profileList arrays
result = memcmp(profileList1.audioProfileList, profileList2.audioProfileList, sizeof(profileList1.audioProfileList));
UT_ASSERT_EQUAL(result, sizeof(profileList1));
UT_ASSERT_EQUAL(result, 0);
akhilbhas marked this conversation as resolved.
Show resolved Hide resolved
}
else
{
Expand Down Expand Up @@ -4076,9 +4076,9 @@ void test_l1_dsAudio_negative_dsGetMS12AudioProfile(void)
UT_ASSERT_NOT_EQUAL(handle, null_handle);

// Step 05: Attempt to get MS12 Audio Profile with a null pointer
result = dsGetMS12AudioProfile(handle, NULL);
if ((gSourceType == 0) && (gDSAudioPortConfiguration[i].ms12_audioprofilecount))
{
result = dsGetMS12AudioProfile(handle, NULL);
UT_ASSERT_EQUAL(result, dsERR_INVALID_PARAM);
}
else
Expand Down