Skip to content

Commit

Permalink
Added a few README tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Weller authored and Devon Weller committed Apr 10, 2021
1 parent 9f51325 commit 61b181a
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,26 @@ This utility switches the audio source for Mac OS X.

You specify the name of the audio source, such as Built-in Digital Output, and the utility switches the source immediately without any GUI interaction.

This is a command-line utility only and has no graphical user interface. Tested on OS 10.7 - 10.13.
This is a command-line utility only and has no graphical user interface. Tested on OS 10.7 - 11.2.

Installing from homebrew
------------------------
```
$ brew install switchaudio-osx
```

Installing Xcode Command Line Tools
-----------------------------------
switchaudio-osx requires command line tools to be installed from OS X. To install command line tools in Xcode 4.4, from the menubar go to Xcode > Preferences and click the Downloads tab. Click "Install" on the line that reads "Command Line Tools".

Usage
-----

SwitchAudioSource [-a] [-c] [-t type] [-n] -s device\_name | -i device\_id | -u device\_uid
SwitchAudioSource [-a] [-c] [-f format] [-t type] [-n] -s device\_name | -i device\_id | -u device\_uid

- **-a** : shows all devices
- **-c** : shows current device
- **-f** _format_ : output format (cli/human/json). Defaults to human.
- **-t** _type_ : device type (input/output/system). Defaults to output.
- **-n** : cycles the audio device to the next one
- **-i** _device_id_ : sets the audio device to the given device by id
- **-u** _device_uid_ : sets the audio device to the given device by uid or a substring of the uid
- **-u** _device_uid_ : sets the audio device to the given device by uid or a substring of the uid
- **-s** _device_name_ : sets the audio device to the given device by name


Expand All @@ -46,7 +42,6 @@ License
-------

MIT License, see license.txt
Copyright (c) 2008-2011 Devon Weller <[email protected]>
Copyright (c) 2011 Christian Zuckschwerdt <[email protected]>

Imported from SVN at http:https://code.google.com/p/switchaudio-osx/
Copyright (c) 2008-2021 Devon Weller <[email protected]>
Copyright (c) 2011 Christian Zuckschwerdt <[email protected]>

0 comments on commit 61b181a

Please sign in to comment.