digisound fixes (d1x r1.7)
This commit is contained in:
parent
71e7eca56c
commit
f459fd912b
|
@ -1,3 +1,7 @@
|
||||||
|
2004-05-21 Victor Rachels <sekmu@tisiphone.dhs.org>
|
||||||
|
|
||||||
|
* arch/win32/digi.c: digisound fixes (d1x r1.7)
|
||||||
|
|
||||||
2004-05-21 Bradley Bell <btb@icculus.org>
|
2004-05-21 Bradley Bell <btb@icculus.org>
|
||||||
|
|
||||||
* main/inferno.c: added -udp documentation from d1x
|
* main/inferno.c: added -udp documentation from d1x
|
||||||
|
|
|
@ -259,7 +259,7 @@ TryNextChannel:
|
||||||
|
|
||||||
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;
|
||||||
|
@ -499,7 +499,6 @@ int digi_link_sound_to_object2(int soundnum, short objnum, int forever, fix max_
|
||||||
{
|
{
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue