VirtualBox

Ignore:
Timestamp:
May 28, 2021 12:59:52 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144679
Message:

AudioMixBuffer: Removed buffer linking and other unnecessary stuff. bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/testcase/tstAudioMixBuffer.cpp

    r88923 r89330  
    307307}
    308308
     309#if 0 /* obsolete */
    309310static int tstParentChild(RTTEST hTest)
    310311{
     
    447448    return RTTestSubErrorCount(hTest) ? VERR_GENERAL_FAILURE : VINF_SUCCESS;
    448449}
    449 
    450 
     450#endif
     451
     452
     453#if 0 /** @todo rewrite to non-parent/child setup */
    451454static void tstDownsampling(RTTEST hTest, uint32_t uFromHz, uint32_t uToHz)
    452455{
     
    547550    AudioMixBufDestroy(&Child);
    548551}
     552#endif
    549553
    550554
     
    654658
    655659
     660#if 0 /** @todo rewrite to non-parent/child setup */
    656661/* Test 8-bit sample conversion (8-bit -> internal -> 8-bit). */
    657662static int tstConversion8(RTTEST hTest)
     
    756761    return RTTestSubErrorCount(hTest) ? VERR_GENERAL_FAILURE : VINF_SUCCESS;
    757762}
    758 
     763#endif
     764
     765#if 0 /** @todo rewrite to non-parent/child setup */
    759766/* Test 16-bit sample conversion (16-bit -> internal -> 16-bit). */
    760767static int tstConversion16(RTTEST hTest)
     
    849856    return RTTestSubErrorCount(hTest) ? VERR_GENERAL_FAILURE : VINF_SUCCESS;
    850857}
    851 
     858#endif
     859
     860#if 0 /** @todo rewrite to non-parent/child setup */
    852861/* Test volume control. */
    853862static int tstVolume(RTTEST hTest)
     
    965974    return RTTestSubErrorCount(hTest) ? VERR_GENERAL_FAILURE : VINF_SUCCESS;
    966975}
     976#endif
    967977
    968978int main(int argc, char **argv)
     
    981991    tstBasics(hTest);
    982992    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 */
    987998    tstDownsampling(hTest, 44100, 22050);
    988999    tstDownsampling(hTest, 48000, 44100);
    9891000    tstDownsampling(hTest, 48000, 22050);
    9901001    tstDownsampling(hTest, 48000, 11000);
     1002#endif
    9911003    tstNewPeek(hTest, 48000, 48000);
    9921004    tstNewPeek(hTest, 48000, 11000);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette