Changeset 89330 in vbox for trunk/src/VBox/Devices/Audio/testcase
- Timestamp:
- May 28, 2021 12:59:52 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 144679
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/testcase/tstAudioMixBuffer.cpp
r88923 r89330 307 307 } 308 308 309 #if 0 /* obsolete */ 309 310 static int tstParentChild(RTTEST hTest) 310 311 { … … 447 448 return RTTestSubErrorCount(hTest) ? VERR_GENERAL_FAILURE : VINF_SUCCESS; 448 449 } 449 450 450 #endif 451 452 453 #if 0 /** @todo rewrite to non-parent/child setup */ 451 454 static void tstDownsampling(RTTEST hTest, uint32_t uFromHz, uint32_t uToHz) 452 455 { … … 547 550 AudioMixBufDestroy(&Child); 548 551 } 552 #endif 549 553 550 554 … … 654 658 655 659 660 #if 0 /** @todo rewrite to non-parent/child setup */ 656 661 /* Test 8-bit sample conversion (8-bit -> internal -> 8-bit). */ 657 662 static int tstConversion8(RTTEST hTest) … … 756 761 return RTTestSubErrorCount(hTest) ? VERR_GENERAL_FAILURE : VINF_SUCCESS; 757 762 } 758 763 #endif 764 765 #if 0 /** @todo rewrite to non-parent/child setup */ 759 766 /* Test 16-bit sample conversion (16-bit -> internal -> 16-bit). */ 760 767 static int tstConversion16(RTTEST hTest) … … 849 856 return RTTestSubErrorCount(hTest) ? VERR_GENERAL_FAILURE : VINF_SUCCESS; 850 857 } 851 858 #endif 859 860 #if 0 /** @todo rewrite to non-parent/child setup */ 852 861 /* Test volume control. */ 853 862 static int tstVolume(RTTEST hTest) … … 965 974 return RTTestSubErrorCount(hTest) ? VERR_GENERAL_FAILURE : VINF_SUCCESS; 966 975 } 976 #endif 967 977 968 978 int main(int argc, char **argv) … … 981 991 tstBasics(hTest); 982 992 tstSingle(hTest); 983 tstParentChild(hTest); 984 tstConversion8(hTest); 985 tstConversion16(hTest); 986 tstVolume(hTest); 993 //tstParentChild(hTest); 994 //tstConversion8(hTest); 995 //tstConversion16(hTest); 996 //tstVolume(hTest); 997 #if 0 /** @todo rewrite to non-parent/child setup */ 987 998 tstDownsampling(hTest, 44100, 22050); 988 999 tstDownsampling(hTest, 48000, 44100); 989 1000 tstDownsampling(hTest, 48000, 22050); 990 1001 tstDownsampling(hTest, 48000, 11000); 1002 #endif 991 1003 tstNewPeek(hTest, 48000, 48000); 992 1004 tstNewPeek(hTest, 48000, 11000);
Note:
See TracChangeset
for help on using the changeset viewer.