- Timestamp:
- Aug 7, 2018 12:28:16 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/testcase/tstAudioMixBuffer.cpp
r71752 r73544 43 43 /* 44100Hz, 2 Channels, S16 */ 44 44 PDMAUDIOPCMPROPS config = PDMAUDIOPCMPROPS_INITIALIZOR( 45 16, /* Bits */45 2, /* Bytes */ 46 46 true, /* Signed */ 47 47 2, /* Channels */ 48 48 44100, /* Hz */ 49 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS( 16 /* Bits */, 2 /* Channels */), /* Shift */49 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(2 /* Bytes */, 2 /* Channels */), /* Shift */ 50 50 false /* Swap Endian */ 51 51 ); … … 164 164 /* 44100Hz, 2 Channels, S16 */ 165 165 PDMAUDIOPCMPROPS cfg_p = PDMAUDIOPCMPROPS_INITIALIZOR( 166 16, /* Bits */166 2, /* Bytes */ 167 167 true, /* Signed */ 168 168 2, /* Channels */ 169 169 44100, /* Hz */ 170 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS( 16 /* Bits */, 2 /* Channels */), /* Shift */170 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(2 /* Bytes */, 2 /* Channels */), /* Shift */ 171 171 false /* Swap Endian */ 172 172 ); … … 179 179 /* 22050Hz, 2 Channels, S16 */ 180 180 PDMAUDIOPCMPROPS cfg_c1 = PDMAUDIOPCMPROPS_INITIALIZOR(/* Upmixing to parent */ 181 16, /* Bits */181 2, /* Bytes */ 182 182 true, /* Signed */ 183 183 2, /* Channels */ 184 184 22050, /* Hz */ 185 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS( 16 /* Bits */, 2 /* Channels */), /* Shift */185 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(2 /* Bytes */, 2 /* Channels */), /* Shift */ 186 186 false /* Swap Endian */ 187 187 ); … … 198 198 /* 48000Hz, 2 Channels, S16 */ 199 199 PDMAUDIOPCMPROPS cfg_c2 = PDMAUDIOPCMPROPS_INITIALIZOR(/* Downmixing to parent */ 200 16, /* Bits */200 2, /* Bytes */ 201 201 true, /* Signed */ 202 202 2, /* Channels */ 203 203 48000, /* Hz */ 204 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS( 16 /* Bits */, 2 /* Channels */), /* Shift */204 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(2 /* Bytes */, 2 /* Channels */), /* Shift */ 205 205 false /* Swap Endian */ 206 206 ); … … 312 312 /* 44100Hz, 1 Channel, U8 */ 313 313 PDMAUDIOPCMPROPS cfg_p = PDMAUDIOPCMPROPS_INITIALIZOR( 314 8, /* Bits */315 false, /* Signed */316 1, /* Channels */317 44100, /* Hz */318 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS( 8 /* Bits */, 1 /* Channels */), /* Shift */319 false /* Swap Endian */314 1, /* Bytes */ 315 false, /* Signed */ 316 1, /* Channels */ 317 44100, /* Hz */ 318 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(1 /* Bytes */, 1 /* Channels */), /* Shift */ 319 false /* Swap Endian */ 320 320 ); 321 321 … … 335 335 /* 22050Hz, 1 Channel, U8 */ 336 336 PDMAUDIOPCMPROPS cfg_c = PDMAUDIOPCMPROPS_INITIALIZOR( /* Upmixing to parent */ 337 8, /* Bits */338 false, /* Signed */339 1, /* Channels */340 22050, /* Hz */341 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS( 8 /* Bits */, 1 /* Channels */), /* Shift */342 false /* Swap Endian */337 1, /* Bytes */ 338 false, /* Signed */ 339 1, /* Channels */ 340 22050, /* Hz */ 341 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(1 /* Bytes */, 1 /* Channels */), /* Shift */ 342 false /* Swap Endian */ 343 343 ); 344 344 … … 417 417 /* 44100Hz, 1 Channel, S16 */ 418 418 PDMAUDIOPCMPROPS cfg_p = PDMAUDIOPCMPROPS_INITIALIZOR( 419 16, /* Bits */419 2, /* Bytes */ 420 420 true, /* Signed */ 421 421 1, /* Channels */ 422 422 44100, /* Hz */ 423 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS( 16 /* Bits */, 1 /* Channels */), /* Shift */423 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(2 /* Bytes */, 1 /* Channels */), /* Shift */ 424 424 false /* Swap Endian */ 425 425 ); … … 432 432 /* 22050Hz, 1 Channel, S16 */ 433 433 PDMAUDIOPCMPROPS cfg_c = PDMAUDIOPCMPROPS_INITIALIZOR( /* Upmixing to parent */ 434 16, /* Bits */434 2, /* Bytes */ 435 435 true, /* Signed */ 436 436 1, /* Channels */ 437 437 22050, /* Hz */ 438 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS( 16 /* Bits */, 1 /* Channels */), /* Shift */438 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(2 /* Bytes */, 1 /* Channels */), /* Shift */ 439 439 false /* Swap Endian */ 440 440 ); … … 514 514 /* 44100Hz, 2 Channels, S16 */ 515 515 PDMAUDIOPCMPROPS cfg = PDMAUDIOPCMPROPS_INITIALIZOR( 516 16, /* Bits */516 2, /* Bytes */ 517 517 true, /* Signed */ 518 518 2, /* Channels */ 519 519 44100, /* Hz */ 520 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS( 16 /* Bits */, 2 /* Channels */), /* Shift */520 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(2 /* Bytes */, 2 /* Channels */), /* Shift */ 521 521 false /* Swap Endian */ 522 522 );
Note:
See TracChangeset
for help on using the changeset viewer.