deweller / switchaudio-osx

Change the audio source for Mac OS X from the command line.
Other
1.16k stars 88 forks source link

Migrate deprecated core audio api calls to current #51

Closed tannerellen closed 1 year ago

tannerellen commented 1 year ago

I migrated all the deprecated Core Audio API's that were being used to their current counterparts. I don't know if pull requests are getting merged any more on this project but at the very least I wanted to get this code out there in case anyone else needed it.

This is a bit out of my wheelhouse but everything compiles great and there doesn't seem to be any difference in functionality with my testing.

This is a bigger change than I would normally like to make on a single pull request but since it's a migration that affected most of the functions I figured it would be acceptable.

deweller commented 1 year ago

Thank you @tannerellen. I'll look at this.

If anyone else wants to verify this as well, please do so.

deweller commented 1 year ago

Related: #45

deweller commented 1 year ago

I'm resolving some other outstanding PRs first.