osx_output: allow user to specify other audio devices.
Add new config parameter 'device' to audio_output type "osx": - if not supplied or set to "default", open default device - if set to "system", open system device - otherwise 'device' should be an audio device name: mpd will find and open the specified audio device, falling back to the default device if it's not found
This commit is contained in:

committed by
Max Kellermann

parent
c7f5a87258
commit
80dc602193
@@ -1319,7 +1319,7 @@ enable_osx=no
|
||||
case "$host_os" in
|
||||
darwin*)
|
||||
AC_DEFINE(HAVE_OSX, 1, [Define for compiling OS X support])
|
||||
MPD_LIBS="$MPD_LIBS -framework AudioUnit -framework CoreServices"
|
||||
MPD_LIBS="$MPD_LIBS -framework AudioUnit -framework CoreAudio -framework CoreServices"
|
||||
enable_osx=yes ;;
|
||||
esac
|
||||
|
||||
|
Reference in New Issue
Block a user