Home | History | Annotate | Download | only in audio

Lines Matching refs:duration

45 def playback_cmd(playback_file, block_size=None, duration=None,
52 @param duration: seconds to playback
63 if duration is not None:
64 args += ['--duration', str(duration)]
71 capture_file, block_size=None, duration=10, channels=1, rate=48000):
76 @param duration: seconds to record. If it is None, duration is not set,
89 if duration is not None:
90 args += ['--duration', str(duration)]
107 def loopback_cmd(output_file, duration=10, channels=2, rate=48000):
112 @param duration: seconds to record.
120 args += ['--duration_seconds', str(duration)]