[MacPorts] #68478: switchaudio-osx @1.2.2: fatal error: 'CoreAudio/AudioHardwareBase.h' file not found

MacPorts noreply at macports.org
Sun Oct 15 19:34:00 UTC 2023


#68478: switchaudio-osx @1.2.2: fatal error: 'CoreAudio/AudioHardwareBase.h' file
not found
-------------------------+-------------------------------------------------
  Reporter:  RobK88      |      Owner:  i0ntempest
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  snowleopard lion mountainlion
      Port:              |  mavericks yosemite elcapitan sierra highsierra
  switchaudio-osx        |  mojave catalina bigsur
-------------------------+-------------------------------------------------

Comment (by RobK88):

 Please note that version 1.1.0 of `switchaudio-osx` still builds on Lion
 and presumably on all macOS versions.  See below.
 Maybe we should create a `switchaudio-osx-legacy` port for the older
 macOS's?


 {{{

 rob$ sw_vers
 ProductName:    Mac OS X
 ProductVersion: 10.7.5
 BuildVersion:   11G63


 rob$ ./AudioSwitcher
 Please specify audio device.
 Usage: ./AudioSwitcher [-a] [-c] [-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
   -s device_name : sets the audio device to the given device by name


 rob$ ./AudioSwitcher -c
 Built-in Line Output
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68478#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list