karaggeorge / macos-audio-devices

Get, set and configure the Audio Devices on macOS
MIT License
170 stars 17 forks source link

Return the device transport type #7

Closed endtwist closed 4 years ago

endtwist commented 4 years ago

This adds the device "transport type" to the output, which allows you to determine if a device is built-in, USB, bluetooth, or a host of other types.

This can be important in knowing whether to accept input or output from that particular device, or display a warning about bluetooth audio quality when using both input and output from the same device.

endtwist commented 4 years ago

@sindresorhus Thanks for this—I’ve updated the code based on your comments.

karaggeorge commented 4 years ago

@endtwist Thank you so much for this PR! It actually adds a functionality we need for Kap, the app I built this for. I'm just going to merge this and address the rest of the comments so I can publish it and use it for Kap.

Thank you for all your work!