File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,10 @@ Device Selection
199199In many cases, the default input/output device(s) will be the one(s) you want,
200200but it is of course possible to choose a different device.
201201Use `sounddevice.query_devices() ` to get a list of supported devices.
202+ The same list can be obtained from a terminal by typing the command ::
203+
204+ python -m sounddevice
205+
202206You can use the corresponding device ID to select a desired device by assigning
203207to `sounddevice.default.device ` or by passing it as *device * argument to
204208`sounddevice.play() `, `sounddevice.Stream() ` etc.
Original file line number Diff line number Diff line change @@ -543,11 +543,11 @@ def query_devices(index=None):
543543
544544 Notes
545545 -----
546- The list of devices can also be printed in a terminal:
546+ The list of devices can also be displayed in a terminal:
547547
548548 .. code-block:: sh
549549
550- $ python -m sounddevice
550+ python -m sounddevice
551551
552552 Examples
553553 --------
You can’t perform that action at this time.
0 commit comments