• Stars
    star
    404
  • Rank 106,897 (Top 3 %)
  • Language
    C++
  • License
    The Unlicense
  • Created almost 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A virtual audio driver for macOS to sends all audio to another output

Proxy Audio Driver

A HAL virtual audio driver for macOS that sends all output to another audio device. It's 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

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.driver
    
  4. 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.

Install with macports

  1. Install proxy-audio-device

     sudo port install proxy-audio-device
    
  2. Run Proxy Audio Device Settings app to configure your new audio device.

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

More Repositories

1

devreorder

A utility for reordering and hiding DirectInput controllers
C++
282
star
2

forceFullDesktopBar

Utility for macOS that modifies the Dock process so that the desktop bar in Mission Control is always full size and showing previews
C
177
star
3

missionControlFullDesktopBar

Application for entering Mission Control with a full size desktop bar showing previews
Objective-C
39
star
4

xboxToVJoy

Translates data from XInput controllers like Xbox 360 or Xbox One controllers to a virtual DirectInput controller using VJoy
C++
15
star
5

check-time-machine

Python script for checking to make sure all of your files are actually backed up by Time Machine, and offers options for fixing files that are not.
Python
14
star
6

cpp-functional-helpers

Convenient functional-style helper functions for C++11 that don't use iterators and return new structures instead of modifying existing ones in place
C++
8
star
7

qBittorrent-10.13-compatible-releases

Builds of qBittorrent that are compatible with macOS 10.13
6
star
8

vscode-indent-to-bracket

Extension for VS Code that adds "indent to bracket" behavior available in Sublime Text and other editors
TypeScript
6
star
9

multipart-backup

Python script that allows backing up entire partitions into multi-part files that are incrementally updated
Python
4
star
10

xinput-disable-guide

A wrapper DLL for preventing apps from detecting the guide button being pressed on Xbox controllers
C++
4
star
11

TLRH-ACYOASOATTRPGCBAMWIFTABHOPSOH

The Long Road Homeward - A Choose-Your-Own-Adventure Simulation of a Table-Top RPG Created By A Madman Who Is Far Too Amused By His Own Puerile Sense of Humor
C#
3
star
12

blah-blob

Blah Blob!
C
2
star