diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2018-04-23 12:10:28 +0200 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2018-04-23 12:11:30 +0200 |
| commit | 52d025e2754d7d2121326b9e02d8ca7d1fed5e2c (patch) | |
| tree | f8221aaf36159f2aa36ede3bb754d746adee59f1 /examples | |
| parent | 80036aa430a6498226d088ffb5dfbfdb7ce210a7 (diff) | |
rec_unlimited example: prefix "delme_" to file name
... in order to make it easier to delete unneeded files.
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/rec_unlimited.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rec_unlimited.py b/examples/rec_unlimited.py index 262ed40..b69a3e2 100755 --- a/examples/rec_unlimited.py +++ b/examples/rec_unlimited.py @@ -49,7 +49,7 @@ try: # soundfile expects an int, sounddevice provides a float: args.samplerate = int(device_info['default_samplerate']) if args.filename is None: - args.filename = tempfile.mktemp(prefix='rec_unlimited_', + args.filename = tempfile.mktemp(prefix='delme_rec_unlimited_', suffix='.wav', dir='') q = queue.Queue() |
