Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change DeviceList repr to use correct indices (#548)
The index from enumerate won't match the actual device index if the list is filtered/reordered for whatever reason (i.e. to restrict to inputs/outputs or a specific API). This also means the default mark would be wrong. This fix uses the index in the dictionary instead.
- Loading branch information