Created
September 13, 2019 09:50
-
-
Save sidneys/2d5197b875aa9255f62b38fa14e4b07b to your computer and use it in GitHub Desktop.
shairport-sync configuration for pulseaudio on macos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// /usr/local/etc/shairport-sync-pulseaudio/shairport-sync.conf | |
// shairport-sync configuration for pulseaudio on macos | |
// v16.0.1 | |
// General Settings. | |
general = | |
{ | |
name = "%h | shairport-sync"; | |
output_backend = "pa"; | |
alac_decoder = "apple"; | |
interpolation = "basic"; | |
audio_backend_silent_lead_in_time = 4.0; | |
volume_control_profile = "standard"; | |
ignore_volume_control = "yes"; | |
}; | |
// Advanced parameters for controlling how Shairport Sync stays active and how it runs a session. | |
sessioncontrol = | |
{ | |
session_timeout = 10; | |
active_state_timeout = 20; | |
wait_for_completion = "no"; | |
allow_session_interruption = "no"; | |
run_this_after_exiting_active_state = "/usr/bin/nohup /usr/local/bin/brew services restart shairport-sync-pulseaudio &"; | |
run_this_if_an_unfixable_error_is_detected = "/usr/bin/nohup /usr/local/bin/brew services restart shairport-sync-pulseaudio &"; | |
}; | |
// Diagnostic settings. | |
diagnostics = | |
{ | |
log_verbosity = 1; | |
statistics = "yes"; | |
}; | |
// How to deal with metadata, including artwork. | |
metadata = | |
{ | |
enabled = "no"; | |
include_cover_art = "no"; | |
pipe_name = "/tmp/shairport-sync-pulseaudio-metadata"; | |
pipe_timeout = 5000; | |
socket_msglength = 65000; | |
}; | |
// This loudness filter is used to compensate for human ear non linearity. | |
dsp = | |
{ | |
loudness = "no"; | |
loudness_reference_volume_db = -20.0; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment