python-sounddevice
python-sounddevice copied to clipboard
Audio device names longer than 32 characters are truncated.
Hello,
Long audio device names are being truncated. Could you please check this? Thank you.
os : windows
sd_lists = sounddevice.query_devices()
for device_info in sd_lists:
idx = device_info['index']
name = device_info['name'] # <-- truncated ,,,,,
The Python wrapper doesn't truncate any names, I think those are truncated either by the underlying PortAudio library of by whatever audio backend you are using.
Please ask at https://github.com/PortAudio/portaudio/issues.
It's a matter of the underlying protocol, mme supports 31 characters, WASAPI supports 63 characters, which actually has little to do with sd