Lines Matching full:channels
28 def _get_format_args(channels, bits, rate):
29 args = ['-c', str(channels)]
185 '''Gets the supported channels for the record device.
196 logging.error("Fail to get supported channels for %s", device)
201 logging.error("Supported channels are empty for %s", device)
270 input, duration=None, channels=2, bits=16, rate=48000, device=None):
275 @param channels: The number of channels of the input audio.
284 args += _get_format_args(channels, bits, rate)
305 output, duration=None, channels=1, bits=16, rate=48000, device=None):
310 @param channels: The number of channels of the recorded audio.
319 args += _get_format_args(channels, bits, rate)