File tree 1 file changed +2
-2
lines changed
speech/cloud-client/src/main/java/com/example/speech
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 {
287
287
// Instantiates a client with GOOGLE_APPLICATION_CREDENTIALS
288
288
try (SpeechClient speech = SpeechClient .create ()) {
289
289
290
- // Configure remote file request for Linear16
290
+ // Configure remote file request for FLAC
291
291
RecognitionConfig config =
292
292
RecognitionConfig .newBuilder ()
293
293
.setEncoding (AudioEncoding .FLAC )
@@ -336,7 +336,7 @@ public static void asyncRecognizeGcs(String gcsUri) throws Exception {
336
336
// Instantiates a client with GOOGLE_APPLICATION_CREDENTIALS
337
337
try (SpeechClient speech = SpeechClient .create ()) {
338
338
339
- // Configure remote file request for Linear16
339
+ // Configure remote file request for FLAC
340
340
RecognitionConfig config =
341
341
RecognitionConfig .newBuilder ()
342
342
.setEncoding (AudioEncoding .FLAC )
You can’t perform that action at this time.
0 commit comments