Changeset 94829 in vbox
- Timestamp:
- May 5, 2022 6:21:36 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r94820 r94829 2447 2447 static int sb16Load(PPDMDEVINS pDevIns, PSSMHANDLE pSSM, PSB16STATE pThis) 2448 2448 { 2449 unsigned const idxStream = SB16_IDX_OUT; /* The one and only stream we have right now. */2450 2451 2449 PCPDMDEVHLPR3 pHlp = pDevIns->pHlpR3; 2452 PSB16STREAM pStream = &pThis->aStreams[ idxStream]; /* The saved state only contains the one-and-only output stream. */2450 PSB16STREAM pStream = &pThis->aStreams[SB16_IDX_OUT]; /* The saved state only contains the one-and-only output stream. */ 2453 2451 int rc; 2454 2452 … … 2526 2524 /* Sanity: If stream is going be enabled, PCM props must be valid. Otherwise the saved state is borked somehow. */ 2527 2525 AssertMsgReturn(AudioHlpPcmPropsAreValid(&pStream->Cfg.Props), 2528 ("PCM properties for stream #%RU8 are invalid\n", idxStream), VERR_INVALID_PARAMETER);2526 ("PCM properties for stream #%RU8 are invalid\n", pStream->uIdx), VERR_SSM_DATA_UNIT_FORMAT_CHANGED); 2529 2527 sb16StreamControl(pDevIns, pThis, pStream, true /* fRun */); 2530 2528 }
Note:
See TracChangeset
for help on using the changeset viewer.