File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
speech/cloud-client/src/main/java/com/example/speech Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ public static void asyncRecognizeWords(String gcsUri) throws Exception {
287287 // Instantiates a client with GOOGLE_APPLICATION_CREDENTIALS
288288 try (SpeechClient speech = SpeechClient .create ()) {
289289
290- // Configure remote file request for Linear16
290+ // Configure remote file request for FLAC
291291 RecognitionConfig config =
292292 RecognitionConfig .newBuilder ()
293293 .setEncoding (AudioEncoding .FLAC )
@@ -336,7 +336,7 @@ public static void asyncRecognizeGcs(String gcsUri) throws Exception {
336336 // Instantiates a client with GOOGLE_APPLICATION_CREDENTIALS
337337 try (SpeechClient speech = SpeechClient .create ()) {
338338
339- // Configure remote file request for Linear16
339+ // Configure remote file request for FLAC
340340 RecognitionConfig config =
341341 RecognitionConfig .newBuilder ()
342342 .setEncoding (AudioEncoding .FLAC )
You can’t perform that action at this time.
0 commit comments