Changeset 65635 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 6, 2017 10:55:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/testcase/tstAudioMixBuffer.cpp
r65624 r65635 5 5 6 6 /* 7 * Copyright (C) 2014-201 6Oracle Corporation7 * Copyright (C) 2014-2017 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 46 46 PDMAUDIODIR_OUT, 47 47 { PDMAUDIOPLAYBACKDEST_UNKNOWN }, 48 { 16, /* Bits */49 true, /* Signed */50 1,/* Shift */51 2, /* Channels */52 44100, /* Hz */53 false /* Swap Endian */ },48 { 16, /* Bits */ 49 true, /* Signed */ 50 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(16 /* Bits */, 2 /* Channels */), /* Shift */ 51 2, /* Channels */ 52 44100, /* Hz */ 53 false /* Swap Endian */ }, 54 54 0 /* cSampleBufferSize */ 55 55 }; … … 150 150 PDMAUDIODIR_OUT, 151 151 { PDMAUDIOPLAYBACKDEST_UNKNOWN }, 152 { 16, /* Bits */153 true, /* Signed */154 1,/* Shift */155 2, /* Channels */156 44100, /* Hz */157 false /* Swap Endian */ },152 { 16, /* Bits */ 153 true, /* Signed */ 154 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(16 /* Bits */, 2 /* Channels */), /* Shift */ 155 2, /* Channels */ 156 44100, /* Hz */ 157 false /* Swap Endian */ }, 158 158 0 /* cSampleBufferSize */ 159 159 }; … … 169 169 PDMAUDIODIR_OUT, 170 170 { PDMAUDIOPLAYBACKDEST_UNKNOWN }, 171 { 16, /* Bits */172 true, /* Signed */173 1,/* Shift */174 2, /* Channels */175 22050, /* Hz */176 false /* Swap Endian */ },171 { 16, /* Bits */ 172 true, /* Signed */ 173 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(16 /* Bits */, 2 /* Channels */), /* Shift */ 174 2, /* Channels */ 175 22050, /* Hz */ 176 false /* Swap Endian */ }, 177 177 0 /* cSampleBufferSize */ 178 178 }; … … 189 189 PDMAUDIODIR_OUT, 190 190 { PDMAUDIOPLAYBACKDEST_UNKNOWN }, 191 { 16, /* Bits */192 true, /* Signed */193 1,/* Shift */194 2, /* Channels */195 48000, /* Hz */196 false /* Swap Endian */ },191 { 16, /* Bits */ 192 true, /* Signed */ 193 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(16 /* Bits */, 2 /* Channels */), /* Shift */ 194 2, /* Channels */ 195 48000, /* Hz */ 196 false /* Swap Endian */ }, 197 197 0 /* cSampleBufferSize */ 198 198 }; … … 276 276 PDMAUDIODIR_OUT, 277 277 { PDMAUDIOPLAYBACKDEST_UNKNOWN }, 278 { 8, /* Bits */279 false, /* Signed */280 1,/* Shift */281 1, /* Channels */282 44100, /* Hz */283 false /* Swap Endian */ },278 { 8, /* Bits */ 279 false, /* Signed */ 280 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(8 /* Bits */, 1 /* Channels */), /* Shift */ 281 1, /* Channels */ 282 44100, /* Hz */ 283 false /* Swap Endian */ }, 284 284 0 /* cSampleBufferSize */ 285 285 }; … … 302 302 PDMAUDIODIR_OUT, 303 303 { PDMAUDIOPLAYBACKDEST_UNKNOWN }, 304 { 8, /* Bits */305 false, /* Signed */306 1,/* Shift */307 1, /* Channels */308 22050, /* Hz */309 false /* Swap Endian */ },304 { 8, /* Bits */ 305 false, /* Signed */ 306 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(8 /* Bits */, 1 /* Channels */), /* Shift */ 307 1, /* Channels */ 308 22050, /* Hz */ 309 false /* Swap Endian */ }, 310 310 0 /* cSampleBufferSize */ 311 311 }; … … 387 387 PDMAUDIODIR_OUT, 388 388 { PDMAUDIOPLAYBACKDEST_UNKNOWN }, 389 { 16, /* Bits */390 true, /* Signed */391 1,/* Shift */392 1, /* Channels */393 44100, /* Hz */394 false /* Swap Endian */ },389 { 16, /* Bits */ 390 true, /* Signed */ 391 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(16 /* Bits */, 1 /* Channels */), /* Shift */ 392 1, /* Channels */ 393 44100, /* Hz */ 394 false /* Swap Endian */ }, 395 395 0 /* cSampleBufferSize */ 396 396 }; … … 406 406 PDMAUDIODIR_OUT, 407 407 { PDMAUDIOPLAYBACKDEST_UNKNOWN }, 408 { 16, /* Bits */409 true, /* Signed */410 1,/* Shift */411 1, /* Channels */412 22050, /* Hz */413 false /* Swap Endian */ },408 { 16, /* Bits */ 409 true, /* Signed */ 410 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(16 /* Bits */, 1 /* Channels */), /* Shift */ 411 1, /* Channels */ 412 22050, /* Hz */ 413 false /* Swap Endian */ }, 414 414 0 /* cSampleBufferSize */ 415 415 }; … … 491 491 PDMAUDIODIR_OUT, 492 492 { PDMAUDIOPLAYBACKDEST_UNKNOWN }, 493 { 16, /* Bits */494 true, /* Signed */495 1,/* Shift */496 2, /* Channels */497 44100, /* Hz */498 false /* Swap Endian */ },493 { 16, /* Bits */ 494 true, /* Signed */ 495 PDMAUDIOPCMPROPS_MAKE_SHIFT_PARMS(16 /* Bits */, 2 /* Channels */), /* Shift */ 496 2, /* Channels */ 497 44100, /* Hz */ 498 false /* Swap Endian */ }, 499 499 0 /* cSampleBufferSize */ 500 500 };
Note:
See TracChangeset
for help on using the changeset viewer.