Changeset 80733 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Sep 11, 2019 2:10:42 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r80704 r80733 2499 2499 uint8_t rs = val & AC97_REC_MASK; 2500 2500 uint8_t ls = (val >> 8) & AC97_REC_MASK; 2501 PDMAUDIORECSOURCE ars = ichac97R3IdxToRecSource(rs); 2502 PDMAUDIORECSOURCE als = ichac97R3IdxToRecSource(ls); 2501 2502 const PDMAUDIORECSOURCE ars = ichac97R3IdxToRecSource(rs); 2503 const PDMAUDIORECSOURCE als = ichac97R3IdxToRecSource(ls); 2504 2503 2505 rs = ichac97R3RecSourceToIdx(ars); 2504 2506 ls = ichac97R3RecSourceToIdx(als); 2507 2508 LogRel(("AC97: Record select to left=%s, right=%s\n", DrvAudioHlpRecSrcToStr(ars), DrvAudioHlpRecSrcToStr(als))); 2509 2505 2510 ichac97MixerSet(pThis, AC97_Record_Select, rs | (ls << 8)); 2506 2511 } … … 2536 2541 2537 2542 /* Configure Extended Audio ID (EAID) + Control & Status (EACS) registers. */ 2538 const uint16_t fEAID = AC97_EAID_REV1; /* Our hardware is AC'97 rev2.3 compliant. */ 2539 const uint16_t fEACS = AC97_EAID_VRA | AC97_EAID_VRM; /* Variable Rate PCM Audio (VRA) + Mic-In (VRM) capable. */ 2543 const uint16_t fEAID = AC97_EAID_REV1 | AC97_EACS_VRA | AC97_EACS_VRM; /* Our hardware is AC'97 rev2.3 compliant. */ 2544 const uint16_t fEACS = AC97_EACS_VRA | AC97_EACS_VRM; /* Variable Rate PCM Audio (VRA) + Mic-In (VRM) capable. */ 2545 2546 LogRel(("AC97: Mixer reset (EAID=0x%x, EACS=0x%x)\n", fEAID, fEACS)); 2540 2547 2541 2548 ichac97MixerSet(pThis, AC97_Extended_Audio_ID, fEAID);
Note:
See TracChangeset
for help on using the changeset viewer.