Difference for arch/win32/digi.c from version 1.10 to 1.11


version 1.10 version 1.11
Line 729
 
Line 729
  digi_start_sound_object(i);   digi_start_sound_object(i);
  } else {   } else {
          SoundSlots[SoundObjects[i].handle].volume = fixmuldiv(SoundObjects[i].volume,digi_volume,F1_0);           SoundSlots[SoundObjects[i].handle].volume = fixmuldiv(SoundObjects[i].volume,digi_volume,F1_0);
    IDirectSoundBuffer_SetVolume(SoundSlots[SoundObjects[i].handle].lpsb, D1vol2DSvol(SoundSlots[SoundObjects[i].handle].volume));
  }   }
  }   }
  }   }
    
  if (oldpan != SoundObjects[i].pan) {   if (oldpan != SoundObjects[i].pan) {
  if (SoundObjects[i].flags & SOF_PLAYING)   if (SoundObjects[i].flags & SOF_PLAYING) {
                                         SoundSlots[SoundObjects[i].handle].pan = SoundObjects[i].pan;                                          SoundSlots[SoundObjects[i].handle].pan = SoundObjects[i].pan;
    IDirectSoundBuffer_SetPan(SoundSlots[SoundObjects[i].handle].lpsb, ((int)(f2fl(SoundObjects[i].pan) * 20000.0))-10000);
    }
  }   }
  }   }
  }   }

Legend:
line(s) removed in v.1.10 
line(s) changed
 line(s) added in v.1.11