forked from deweller/switchaudio-osx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
||
|
@@ -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]> |