diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2017-01-16 21:13:22 +0100 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2017-01-16 21:13:22 +0100 |
| commit | b780a2fcb75648817cada77266d48f6bbc85b0ab (patch) | |
| tree | aa1093635b265638526b0550a8988d81b028580f /examples/wire.py | |
| parent | 1aec2d6907685981775519413de4a95213178f75 (diff) | |
Remove flush=True from examples
Diffstat (limited to 'examples/wire.py')
| -rwxr-xr-x | examples/wire.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/wire.py b/examples/wire.py index 2863b71..744d725 100755 --- a/examples/wire.py +++ b/examples/wire.py @@ -15,6 +15,7 @@ def int_or_str(text): except ValueError: return text + parser = argparse.ArgumentParser(description=__doc__) parser.add_argument('-i', '--input-device', type=int_or_str, help='input device ID or substring') @@ -33,7 +34,7 @@ try: def callback(indata, outdata, frames, time, status): if status: - print(status, flush=True) + print(status) outdata[:] = indata with sd.Stream(device=(args.input_device, args.output_device), |
