| 701 | info->x18 = 0x40; |
| 702 | info->x1c = 0x40; |
| 703 | MIXAdjustFader(info->voice, vol - MIXGetFader(info->voice)); |
| 704 | MIXAdjustPan(info->voice, 0x40 - MIXGetPan(info->voice)); |
| 705 | } |
| 706 | |
| 707 | void iSndVolUpdate(xSndVoiceInfo* info, vinfo* vinfo) |
| 708 | { |
| 709 | MIXUnMute(vinfo->voice); |
| 710 | xSndInternalUpdateVoicePos(info); |
| 711 | if ((info->flags & 8) != 0) |
| 712 | { |
| 713 | iSndCalcVol3d(info, vinfo); |
| 714 | } |
| 715 | else |
| 716 | { |
| 717 | iSndCalcVol(info, vinfo); |
| 718 | } |
| 719 | } |
| 720 |
nothing calls this directly
no test coverage detected