TempleOSCDV4.11.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:47:50 +02:00
1 parent 9206246147
commit 93ca216483
662 files changed
+6431 -7369

No files matched your search

File renamed without changes.
@@ -45,13 +45,13 @@ U0 SoundEffectTask(CSoundEffectFrame *ns)
}
}
public CTask *Noise(I64 mS,F64 min_freq,F64 max_freq)
{//Make white noise for given number of mS.
public CTask *Noise(I64 ms,F64 min_freq,F64 max_freq)
{//Make white noise for given number of ms.
CSoundEffectFrame *ns;
if (mS>0) {
if (ms>0) {
ns=MAlloc(sizeof(CSoundEffectFrame));
ns->type=SE_NOISE;
ns->duration=mS/1000.0;
ns->duration=ms/1000.0;
ns->freq1=min_freq;
ns->freq2=max_freq;
music.mute++;
@@ -60,13 +60,13 @@ public CTask *Noise(I64 mS,F64 min_freq,F64 max_freq)
return NULL;
}
public CTask *Sweep(I64 mS,F64 freq1,F64 freq2)
{//Sweep through freq range in given number of mS.
public CTask *Sweep(I64 ms,F64 freq1,F64 freq2)
{//Sweep through freq range in given number of ms.
CSoundEffectFrame *ns;
if (mS>0) {
if (ms>0) {
ns=MAlloc(sizeof(CSoundEffectFrame));
ns->type=SE_SWEEP;
ns->duration=mS/1000.0;
ns->duration=ms/1000.0;
ns->freq1=freq1;
ns->freq2=freq2;
music.mute++;
File renamed without changes.
File renamed without changes.
File renamed without changes.