diff --git a/src/robot_interface/utils/microphone.py b/src/robot_interface/utils/microphone.py index 3bf9fe6..816c7f6 100644 --- a/src/robot_interface/utils/microphone.py +++ b/src/robot_interface/utils/microphone.py @@ -29,7 +29,7 @@ def choose_mic_interactive(audio): :type audio: pyaudio.PyAudio :return: A dictionary from PyAudio containing information about the microphone to use, or None - if there is no microphone. + if there is no microphone. :rtype: dict | None """ microphones = list(get_microphones(audio)) @@ -61,7 +61,7 @@ def choose_mic_default(audio): :type audio: pyaudio.PyAudio :return: A dictionary from PyAudio containing information about the microphone to use, or None - if there is no microphone. + if there is no microphone. :rtype: dict | None """ try: @@ -78,7 +78,7 @@ def choose_mic_arguments(audio): :type audio: pyaudio.PyAudio :return: A dictionary from PyAudio containing information about the microphone to use, or None - if there is no microphone satisfied by the arguments. + if there is no microphone satisfied by the arguments. :rtype: dict | None """ microphone_name = None @@ -112,7 +112,7 @@ def choose_mic(audio): :type audio: pyaudio.PyAudio :return: A dictionary from PyAudio containing information about the microphone to use, or None - if there is no microphone. + if there is no microphone. :rtype: dict | None """ chosen_mic = choose_mic_arguments(audio)