Skip to content

Commit

Permalink
samples: Update a default value to parameter (#1522)
Browse files Browse the repository at this point in the history
  • Loading branch information
munkhuushmgl authored and chingor13 committed Aug 15, 2020
1 parent c3e846c commit 3c274eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void onError(Throwable t) {
RecognitionConfig recognitionConfig =
RecognitionConfig.newBuilder()
.setEncoding(RecognitionConfig.AudioEncoding.LINEAR16)
.setLanguageCode("en-US")
.setLanguageCode(languageCode)
.setSampleRateHertz(16000)
.build();

Expand Down

0 comments on commit 3c274eb

Please sign in to comment.