Changeset 89842 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Jun 23, 2021 8:11:53 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145299
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioTest.cpp
r89841 r89842 1829 1829 VerJob.idxTest = i; 1830 1830 1831 AUDIOTESTOBJHANDLE hTest; 1831 AUDIOTESTOBJHANDLE hTest; /** @todo r=bird: This is not a handle if you RTStrPrintf to its members. A handle doesn't have members, it's opque. */ 1832 1832 RTStrPrintf(hTest.szSec, sizeof(hTest.szSec), "test_%04RU32", i); 1833 1833 1834 AUDIOTESTTYPE enmTestTypeA ;1834 AUDIOTESTTYPE enmTestTypeA = AUDIOTESTTYPE_INVALID; 1835 1835 rc = audioTestGetValueUInt32(VerJob.pSetA, &hTest, "test_type", (uint32_t *)&enmTestTypeA); 1836 1836 CHECK_RC_MSG_MAYBE_RET(rc, pVerJob, "Test type A not found"); 1837 1837 1838 AUDIOTESTTYPE enmTestTypeB ;1838 AUDIOTESTTYPE enmTestTypeB = AUDIOTESTTYPE_INVALID; 1839 1839 rc = audioTestGetValueUInt32(VerJob.pSetB, &hTest, "test_type", (uint32_t *)&enmTestTypeB); 1840 1840 CHECK_RC_MSG_MAYBE_RET(rc, pVerJob, "Test type B not found"); … … 1845 1845 { 1846 1846 if (enmTestTypeB == AUDIOTESTTYPE_TESTTONE_RECORD) 1847 {1848 1847 rc = audioTestVerifyTestTone(&VerJob, &hTest, VerJob.pSetA, VerJob.pSetB); 1849 }1850 1848 else 1851 1849 rc = audioTestErrorDescAdd(pErrDesc, i, "Playback test types don't match (set A=%#x, set B=%#x)", … … 1857 1855 { 1858 1856 if (enmTestTypeB == AUDIOTESTTYPE_TESTTONE_PLAY) 1859 {1860 1857 rc = audioTestVerifyTestTone(&VerJob, &hTest, VerJob.pSetB, VerJob.pSetA); 1861 }1862 1858 else 1863 1859 rc = audioTestErrorDescAdd(pErrDesc, i, "Recording test types don't match (set A=%#x, set B=%#x)",
Note:
See TracChangeset
for help on using the changeset viewer.