Change the default values for channels and rate.
BUG=None
TEST=Run the audiovideo_CRASFormatConversion test on butterfly
Change-Id: I736e004c382a54f5ac4f9315e0a161d228d2a346
Reviewed-on: https://chromium-review.googlesource.com/179302
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Commit-Queue: Owen Lin <owenlin@chromium.org>
Tested-by: Owen Lin <owenlin@chromium.org>
diff --git a/client/cros/audio/audio_helper.py b/client/cros/audio/audio_helper.py
index 5397556..42099bb 100644
--- a/client/cros/audio/audio_helper.py
+++ b/client/cros/audio/audio_helper.py
@@ -461,7 +461,7 @@
def get_channel_sox_stat(
- input_audio, channel_index, channels=1, bits=16, rate=48000):
+ input_audio, channel_index, channels=2, bits=16, rate=48000):
"""Gets the sox stat info of the selected channel in the input audio file.
@param input_audio: The input audio file to be analyzed.