Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/briankendall/proxy-audio-device
A virtual audio driver for macOS to sends all audio to another output
https://github.com/briankendall/proxy-audio-device
audio audio-driver macos
Last synced: 3 months ago
JSON representation
A virtual audio driver for macOS to sends all audio to another output
- Host: GitHub
- URL: https://github.com/briankendall/proxy-audio-device
- Owner: briankendall
- License: unlicense
- Created: 2019-02-14T19:02:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-17T13:13:12.000Z (4 months ago)
- Last Synced: 2024-07-17T16:13:46.993Z (4 months ago)
- Topics: audio, audio-driver, macos
- Language: C++
- Size: 1.57 MB
- Stars: 521
- Watchers: 11
- Forks: 35
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Proxy Audio Driver
A HAL virtual audio driver for macOS that sends all output to another audio device. Its main purpose is to make it possible to use macOS's system volume controls, such as the volume menu bar icon or volume keyboard keys, to change the volume of external audio interfaces that don't allow it. It might be useful for something else, too.
### Installation
#### Install with a package manager
[![Packaging status on repology](https://repology.org/badge/vertical-allrepos/proxy-audio-device.svg)](https://repology.org/project/proxy-audio-device/versions)
Install [proxy-audio-device with Homebrew with `brew`](https://formulae.brew.sh/cask/proxy-audio-device):
brew install --cask proxy-audio-device
_or_ [proxy-audio-device on macports with `port`](https://ports.macports.org/port/proxy-audio-device/):
sudo port install proxy-audio-device
Run the _Proxy Audio Device Settings_ app to configure your new audio device.
#### Manual installation
1. Download the latest release from this GitHub repository
2. Create the directory `HAL` if it does not exist. Open a terminal window, execute the following command and enter your administrator password when prompted:
sudo mkdir /Library/Audio/Plug-Ins/HAL
3. Move the directory `ProxyAudioDriver.driver` to `/Library/Audio/Plug-Ins/HAL` and assign it the correct owner. Execute in the root directory of the unzipped file:
sudo mv ./ProxyAudioDevice.driver /Library/Audio/Plug-Ins/HAL/
sudo chown -R root:wheel /Library/Audio/Plug-Ins/HAL/ProxyAudioDevice.driver4. Either reboot your system or reboot Core Audio by executing the following command:
sudo launchctl kickstart -k system/com.apple.audio.coreaudiod
5. Run Proxy Audio Device Settings to configure the proxy output device's name, which output device the driver will proxy to, and how large you want its audio buffer to be.
### Uninstallation
1. Open a terminal window and execute the following command:
sudo rm -rf /Library/Audio/Plug-Ins/HAL/ProxyAudioDevice.driver
2. Either reboot your system or reboot Core Audio by executing the following command:
sudo launchctl kickstart -k system/com.apple.audio.coreaudiod### Building
Clone the repo, open the Xcode project and build the driver and the settings application. Then follow the above installation instructions to install it.
### Issues
If you make the audio buffer too small then the driver will introduce pops, crackles, or distortion. If you notice that then try increasing the buffer size.
### Possible Future Work
- Indicator in the settings app for when the proxy audio device overruns its buffer and causes audio artifacts
- Proxying more than two channels of audio
- Ability to increase the number of proxy devices