Skip to content

Commit

Permalink
Merge pull request #102 from ipelupessy/fix_doc_on_id
Browse files Browse the repository at this point in the history
fix documentation on get_speaker and get_microphone, id cannot be an int (except for coreaudio)
  • Loading branch information
bastibe authored Jul 29, 2020
2 parents 86f197c + 4f321d0 commit 7fda36c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soundcard/pulseaudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def get_speaker(id):
Parameters
----------
id : int or str
can be an int index, a backend id, a substring of the
can be a backend id string (Windows, Linux) or a device id int (MacOS), a substring of the
speaker name, or a fuzzy-matched pattern for the speaker name.
Returns
Expand Down Expand Up @@ -351,7 +351,7 @@ def get_microphone(id, include_loopback=False, exclude_monitors=True):
Parameters
----------
id : int or str
can be an int index, a backend id, a substring of the
can be a backend id string (Windows, Linux) or a device id int (MacOS), a substring of the
speaker name, or a fuzzy-matched pattern for the speaker name.
include_loopback : bool
allow recording of speaker outputs
Expand Down

0 comments on commit 7fda36c

Please sign in to comment.