karaggeorge / macos-audio-devices

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

More Swift code improvements #3

Closed sindresorhus closed 4 years ago

sindresorhus commented 4 years ago

I moved all the AudioDevices methods into AudioDevice. It makes more sense to have everything under one namespace like that. I also removed all the moot do/catch in the CLI stuff, since the CLI can already catch thrown errors and print them.