Changeset 82340 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Dec 3, 2019 11:00:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r82329 r82340 1602 1602 { 1603 1603 AssertMsgReturn(uMixerIdx + 2U <= sizeof(pThis->mixer_data), 1604 1604 ("Index %RU8 out of bounds (%zu)\n", uMixerIdx, sizeof(pThis->mixer_data)), 1605 1605 UINT16_MAX); 1606 1606 return RT_MAKE_U16(pThis->mixer_data[uMixerIdx + 0], pThis->mixer_data[uMixerIdx + 1]); … … 2860 2860 { 2861 2861 pStream = &pThis->aStreams[AC97_PORT2IDX(offPort)]; 2862 AssertPtr(pStream);2863 2862 pRegs = &pStream->Regs; 2864 2863 } … … 3022 3021 { 3023 3022 pStream = &pThis->aStreams[AC97_PORT2IDX(offPort)]; 3024 AssertPtr(pStream); 3025 pRegs = &pStream->Regs; 3023 pRegs = &pStream->Regs; 3026 3024 3027 3025 DEVAC97_LOCK_BOTH_RETURN(pDevIns, pThis, pStream->u8SD, VINF_IOM_R3_IOPORT_WRITE);
Note:
See TracChangeset
for help on using the changeset viewer.