Przeglądaj źródła

Remove `print`s which make the program hang in Recording with microphone (#6346)

Binney 2 lat temu
rodzic
commit
9e229b7f8d
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      tutorials/audio/recording_with_microphone.rst

+ 0 - 2
tutorials/audio/recording_with_microphone.rst

@@ -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;