Skip to content

How to identify the Built-in audio output device? Can I rely on the UID(BuiltInSpeakerDevice)? #60

@deevannaveed

Description

@deevannaveed

I am trying to figure out which device is the built-in output device on my Mac? when I use exec -a -f json in the list I can see

{"name": "MacBook Pro Speakers", "type": "output", "id": "366", "uid": "BuiltInSpeakerDevice"}

But my concern is that is it safe to use the uid BuiltInSpeakerDevice? will it be the same on all Mac devices and OS versions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions