diff options
| -rw-r--r-- | sounddevice.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sounddevice.py b/sounddevice.py index c9c8117..54f521a 100644 --- a/sounddevice.py +++ b/sounddevice.py @@ -2446,6 +2446,7 @@ def _check_mapping(mapping, channels): if mapping is None: mapping = np.arange(channels) else: + mapping = np.array(mapping, copy=True) mapping = np.atleast_1d(mapping) if mapping.min() < 1: raise ValueError('channel numbers must not be < 1') |
