Difference for arch/win32/digi.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 252
 
Line 252
   
   SoundSlots[slot].soundno = soundnum;    SoundSlots[slot].soundno = soundnum;
   SoundSlots[slot].samples = Sounddat(soundnum)->data;    SoundSlots[slot].samples = Sounddat(soundnum)->data;
   SoundSlots[slot].length = Sounddat[soundnum].length;    SoundSlots[slot].length = Sounddat(soundnum)->length;
   SoundSlots[slot].volume = fixmul(digi_volume, volume);    SoundSlots[slot].volume = fixmul(digi_volume, volume);
   SoundSlots[slot].pan = pan;    SoundSlots[slot].pan = pan;
   SoundSlots[slot].position = 0;    SoundSlots[slot].position = 0;
Line 489
 
Line 489
 {  {
  int i,volume,pan;   int i,volume,pan;
  object * objp;   object * objp;
  int soundnum;  
   
    if ( max_volume < 0 )     if ( max_volume < 0 )
     return -1;      return -1;
Line 558
 
Line 557
     return -1;      return -1;
    if (!digi_initialised)     if (!digi_initialised)
     return -1;      return -1;
    if (digi_sound_xlat(soundnum) < 0)     if (digi_xlat_sound(soundnum) < 0)
     return -1;      return -1;
    if (Sounddat(soundnum)->data==NULL)     if (Sounddat(soundnum)->data==NULL)
     {      {

Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7