Changeset 89761 in vbox
- Timestamp:
- Jun 17, 2021 9:11:54 AM (3 years ago)
- Location:
- trunk/src/VBox/ValidationKit/utils/audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
r89747 r89761 161 161 { "--exclude", 'e', RTGETOPT_REQ_UINT32 }, 162 162 { "--exclude-all", 'a', RTGETOPT_REQ_NOTHING }, 163 { "--guest-ats-addr ess",VKAT_TEST_OPT_GUEST_ATS_ADDR, RTGETOPT_REQ_STRING },163 { "--guest-ats-addr", VKAT_TEST_OPT_GUEST_ATS_ADDR, RTGETOPT_REQ_STRING }, 164 164 { "--guest-ats-port", VKAT_TEST_OPT_GUEST_ATS_PORT, RTGETOPT_REQ_UINT32 }, 165 165 { "--host-ats-address", VKAT_TEST_OPT_HOST_ATS_ADDR, RTGETOPT_REQ_STRING }, -
trunk/src/VBox/ValidationKit/utils/audio/vkatCmdSelfTest.cpp
r89685 r89761 215 215 enum 216 216 { 217 VKAT_SELFTEST_OPT_ ATS_GUEST_ADDR = 900,218 VKAT_SELFTEST_OPT_ ATS_GUEST_PORT,219 VKAT_SELFTEST_OPT_ ATS_VALKIT_ADDR,220 VKAT_SELFTEST_OPT_ ATS_VALKIT_PORT217 VKAT_SELFTEST_OPT_GUEST_ATS_ADDR = 900, 218 VKAT_SELFTEST_OPT_GUEST_ATS_PORT, 219 VKAT_SELFTEST_OPT_HOST_ATS_ADDR, 220 VKAT_SELFTEST_OPT_HOST_ATS_PORT 221 221 }; 222 222 … … 226 226 static const RTGETOPTDEF s_aCmdSelftestOptions[] = 227 227 { 228 { "-- ats-guest-addr", VKAT_SELFTEST_OPT_ATS_GUEST_ADDR, RTGETOPT_REQ_STRING },229 { "-- ats-guest-port", VKAT_SELFTEST_OPT_ATS_GUEST_PORT, RTGETOPT_REQ_UINT32 },230 { "-- ats-valkit-addr", VKAT_SELFTEST_OPT_ATS_GUEST_ADDR,RTGETOPT_REQ_STRING },231 { "-- ats-valkit-port", VKAT_SELFTEST_OPT_ATS_GUEST_PORT,RTGETOPT_REQ_UINT32 },228 { "--guest-ats-addr", VKAT_SELFTEST_OPT_GUEST_ATS_ADDR, RTGETOPT_REQ_STRING }, 229 { "--guest-ats-port", VKAT_SELFTEST_OPT_GUEST_ATS_PORT, RTGETOPT_REQ_UINT32 }, 230 { "--host-ats-addr", VKAT_SELFTEST_OPT_HOST_ATS_ADDR, RTGETOPT_REQ_STRING }, 231 { "--host-ats-port", VKAT_SELFTEST_OPT_HOST_ATS_PORT, RTGETOPT_REQ_UINT32 }, 232 232 { "--exclude-all", 'a', RTGETOPT_REQ_NOTHING }, 233 233 { "--backend", 'b', RTGETOPT_REQ_STRING }, … … 269 269 switch (rc) 270 270 { 271 case VKAT_SELFTEST_OPT_ ATS_GUEST_ADDR:271 case VKAT_SELFTEST_OPT_GUEST_ATS_ADDR: 272 272 rc = RTStrCopy(Ctx.Host.szGuestAtsAddr, sizeof(Ctx.Host.szGuestAtsAddr), ValueUnion.psz); 273 273 break; 274 274 275 case VKAT_SELFTEST_OPT_ ATS_GUEST_PORT:275 case VKAT_SELFTEST_OPT_GUEST_ATS_PORT: 276 276 Ctx.Host.uGuestAtsPort = ValueUnion.u32; 277 277 break; 278 278 279 case VKAT_SELFTEST_OPT_ ATS_VALKIT_ADDR:279 case VKAT_SELFTEST_OPT_HOST_ATS_ADDR: 280 280 rc = RTStrCopy(Ctx.Host.szValKitAtsAddr, sizeof(Ctx.Host.szValKitAtsAddr), ValueUnion.psz); 281 281 break; 282 282 283 case VKAT_SELFTEST_OPT_ ATS_VALKIT_PORT:283 case VKAT_SELFTEST_OPT_HOST_ATS_PORT: 284 284 Ctx.Host.uValKitAtsPort = ValueUnion.u32; 285 285 break;
Note:
See TracChangeset
for help on using the changeset viewer.