summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sounddevice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sounddevice.py b/sounddevice.py
index f4de10a..87c2e72 100644
--- a/sounddevice.py
+++ b/sounddevice.py
@@ -646,7 +646,7 @@ def query_devices(index=None):
else:
encoding = 'utf-8'
return {
- 'name': _ffi.string(info.name).decode(encoding, errors='replace'),
+ 'name': _ffi.string(info.name).decode(encoding, 'replace'),
'hostapi': info.hostApi,
'max_input_channels': info.maxInputChannels,
'max_output_channels': info.maxOutputChannels,