Skip to content

portaudio / coreaudio device specification by name and not port? #385

Answered by MartinPulec
sogorman asked this question in Q&A
Discussion options

You must be logged in to vote

Actually, it is already implemented in 1.9.x versions (obviously also in continuous):

UltraGrid 1.9.2 (tags/v1.9.2 rev 0d8eaf2 built Apr 29 2024 11:16:31)

Core Audio capture usage:
        -s coreaudio[:<index>|:<name>]
where
        <name> - device name substring (case sensitive)

Available Core Audio capture devices:
        coreaudio    : Default CoreAudio capture
        coreaudio:76 : BlackHole 16ch
        coreaudio:91 : MacBook Pro Microphone
Exit

The usage is exactly as you write – -s coreaudio:"MacBook Pro Microphone". (Note that I've noticed that the name doesn't work for the default one for now. I'll fix it, but it shouldn't be a big deal since you can still use -s coreaudio

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sogorman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants