# -*- coding: utf-8 -*
import pyaudio
import wave

def main():
    audio = pyaudio.PyAudio()

    # 音声デバイス毎のインデックス番号を一覧表示
    for x in range(0, audio.get_device_count()):
        print(audio.get_device_info_by_index(x))

if __name__ == '__main__':
    main()

04d58ff3f6425596eea7e3c4da948c979d6471b8
<mask token>

<mask token>


def main():
    audio = pyaudio.PyAudio()
    for x in range(0, audio.get_device_count()):
        print(audio.get_device_info_by_index(x))


<mask token>

<mask token>


def main():
    audio = pyaudio.PyAudio()
    for x in range(0, audio.get_device_count()):
        print(audio.get_device_info_by_index(x))


if __name__ == '__main__':
    main()

import pyaudio
import wave


def main():
    audio = pyaudio.PyAudio()
    for x in range(0, audio.get_device_count()):
        print(audio.get_device_info_by_index(x))


if __name__ == '__main__':
    main()

# -*- coding: utf-8 -*
import pyaudio
import wave

def main():
    audio = pyaudio.PyAudio()

    # 音声デバイス毎のインデックス番号を一覧表示
    for x in range(0, audio.get_device_count()):
        print(audio.get_device_info_by_index(x))

if __name__ == '__main__':
    main()
