Remove prints which make the program hang in Recording with microphone (#6346)

This commit is contained in:
Binney
2022-10-28 20:39:53 +01:00
committed by Hugo Locurcio
parent a29d45c3f6
commit 9e229b7f8d

View File

@@ -118,7 +118,6 @@ the recorded stream can be stored into the ``recording`` variable by calling
print(recording.mix_rate)
print(recording.stereo)
var data = recording.get_data()
print(data)
print(data.size())
$AudioStreamPlayer.stream = recording
$AudioStreamPlayer.play()
@@ -132,7 +131,6 @@ the recorded stream can be stored into the ``recording`` variable by calling
GD.Print(_recording.MixRate);
GD.Print(_recording.Stereo);
byte[] data = _recording.Data;
GD.Print(data);
GD.Print(data.Length);
var audioStreamPlayer = GetNode<AudioStreamPlayer>("AudioStreamPlayer");
audioStreamPlayer.Stream = _recording;