Changeset 61528 in vbox for trunk/src/VBox
- Timestamp:
- Jun 7, 2016 10:13:48 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r61523 r61528 63 63 64 64 #define AC97_TIMER_HZ 50 65 66 #ifdef VBOX67 # define SOFT_VOLUME /** @todo Get rid of this crap. */68 #else69 # define SOFT_VOLUME70 #endif71 65 72 66 /** @todo Use AC97_ prefixes! */ … … 979 973 int rc; 980 974 981 #ifdef SOFT_VOLUME982 975 if (pThis->pMixer) /* Device can be in reset state, so no mixer available. */ 983 976 { … … 1007 1000 } 1008 1001 else 1009 rc = VERR_NOT_SUPPORTED; 1010 1011 if (RT_FAILURE(rc)) 1012 return rc; 1013 #else 1014 rc = VINF_SUCCESS; 1015 #endif /* SOFT_VOLUME */ 1002 rc = VINF_SUCCESS; 1016 1003 1017 1004 rvol = VOL_MASK - ((VOL_MASK * rvol) / 255); … … 1032 1019 1033 1020 ichac97MixerSet(pThis, index, val); 1021 1022 if (RT_FAILURE(rc)) 1023 LogFlowFunc(("Failed with %Rrc\n", rc)); 1034 1024 1035 1025 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.