Git Product home page Git Product logo

alcplugfix-swift's Introduction

ALCPlugFix-Swift

(c) 2020 black.dragon74 aka Nick

macOS daemon to send HD Audio commands (HDA Verbs) to an IOHDACodecDevice from user-sapce.

Features

  • Codeless configuration using a custom PLIST file
  • Supports sending verbs on system boot/sleep/wake, headset plug/unplug and audio mute/unmute optionally
  • Doesn't require CodecCommander, hda-verb or alc-verb to function

Note: Requires AppleALC version 1.5.4+ or the patch of commit 61e2bbf applied.

Installing

Download the appropriate version from the Releases and extract the zip file.

Open the extracted folder and you will find a sample.plist file in there for reference. You need to edit it according to your codec. One you are done, copy the file somewhere safe (it should not be deleted as ALCPlugFix-Swift reads the config from it on boot). Also, this is the file you need to drag to the terminal window when install.sh asks you to do the same.

Now open the Terminal.app and follow the instructions.

# CD to the downloded directory
cd your_directory_here

# Run the install.sh
./install.sh

Note: AppleALC version 1.5.5+ require the boot-arg alcverbs=1 or the property alc-verbs to be present on HDEF in order for ALCPlugFix-Swift to work.

Building

From GitHub:

Install Xcode, clone the GitHub repo and enter the top-level directory. Then:

xcodebuild -configuration Release

Credits

  • goodwin for original work on Obj-C based ALCPlugFix
  • zen-zhen for direct kernelspace connection
  • black-dragon74 for writing and maintaing this software

alcplugfix-swift's People

Contributors

black-dragon74 avatar zhen-zen avatar sukkaw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.