Changeset 89294 in vbox for trunk/src/VBox
- Timestamp:
- May 26, 2021 2:14:21 PM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioTest.h
r89293 r89294 78 78 /** The PCM properties. */ 79 79 PDMAUDIOPCMPROPS Props; 80 /** Tone frequency (in Hz) to use. 81 * Will be later converted to a double value. */ 82 uint16_t uFreq; 80 83 /** Prequel (in ms) to play silence. Optional and can be set to 0. */ 81 84 RTMSINTERVAL msPrequel; -
trunk/src/VBox/Devices/Audio/AudioTestServiceProtocol.h
r89226 r89294 135 135 /** Test tone parameters for playback. */ 136 136 AUDIOTESTTONEPARMS ToneParms; 137 uint8_t aPadding[12]; 137 138 } ATSPKTREQTONEPLAY; 138 139 AssertCompileSizeAlignment(ATSPKTREQTONEPLAY, ATSPKT_ALIGNMENT); -
trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp
r89291 r89294 149 149 memcpy(&pTestData->t.TestTone.Parms, pToneParms, sizeof(AUDIOTESTTONEPARMS)); 150 150 151 AudioTestToneInit(&pTestData->t.TestTone.Tone, &pStreamCfg->Props, 8000 /* Hz */); /** @todo BUGBUG Fix this! */151 AudioTestToneInit(&pTestData->t.TestTone.Tone, &pStreamCfg->Props, pTestData->t.TestTone.Parms.uFreq); 152 152 153 153 pTestData->t.TestTone.cbToWrite = PDMAudioPropsMilliToBytes(&pStreamCfg->Props,
Note:
See TracChangeset
for help on using the changeset viewer.