mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-01-18 10:36:44 +00:00
Remove debug log from Audio.GenerateWave
This commit is contained in:
parent
2f701a6338
commit
ee44873e07
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ public class Audio : IDisposable
|
|||
Waveform.Noise => rng.NextDouble() * 2 - 1,
|
||||
_ => throw new NotImplementedException(),
|
||||
};
|
||||
Console.WriteLine(value);
|
||||
|
||||
value = Math.Clamp(value, -1, 1);
|
||||
var sample = (short)(value >= 0.0f ? value * short.MaxValue : value * short.MinValue * -1);
|
||||
if (!BitConverter.IsLittleEndian)
|
||||
|
|
Loading…
Reference in a new issue