Created
January 27, 2018 17:35
-
-
Save a-x-/a8edb82105cfd5019021f4a60bcb1e8d to your computer and use it in GitHub Desktop.
/etc/shairport-sync.conf
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
// General Settings | |
general = | |
{ | |
// log_verbosity = 0; // "0" means no debug verbosity, "3" is most verbose. | |
log_verbosity = 2; | |
// ignore_volume_control = "no"; // set this to "yes" if you want the volume to be at 100% no matter what the source's volume control is set to. | |
// volume_range_db = 60 ; // use this advanced setting to set the range, in dB, you want between the maximum volume and the minimum volume. Range is 30 to 150 dB. Leave it commented out to use mixer's native range. | |
volume_range_db = 35 ; | |
// volume_max_db = 0.0 ; // use this advanced setting, which must have a decimal point in it, to set the maximum volume, in dB, you wish to use. | |
volume_max_db = 3.0 ; | |
// The setting is for the hardware mixer, if chosen, or the software mixer otherwise. The value must be in the mixer's range (0.0 to -96.2 for the software mixer). | |
// Leave it commented out to use mixer's maximum volume. | |
// run_this_when_volume_is_set = "/full/path/to/application/and/args"; // Run the specified application whenever the volume control is set or changed. | |
// The desired AirPlay volume is appended to the end of the command line – leave a space if you want it treated as an extra argument. | |
// AirPlay volume goes from 0 to -30 and -144 means "mute". | |
}; | |
dsp = | |
{ | |
}; | |
// How to deal with metadata, including artwork | |
metadata = | |
{ | |
}; | |
// Advanced parameters for controlling how a Shairport Sync runs | |
sessioncontrol = | |
{ | |
// allow_session_interruption = "no"; // set to "yes" to allow another device to interrupt Shairport Sync while it's playing from an existing audio source | |
// a-x-: workaround https://github.com/mikebrady/shairport-sync/issues/599 | |
allow_session_interruption = "yes"; | |
// session_timeout = 120; // wait for this number of seconds after a source disappears before terminating the session and becoming available again. | |
}; | |
// Back End Settings | |
// These are parameters for the "alsa" audio back end. | |
alsa = | |
{ | |
}; | |
// Parameters for the "sndio" audio back end. All are optional. | |
sndio = | |
{ | |
}; | |
// Parameters for the "pa" PulseAudio backend. | |
pa = | |
{ | |
}; | |
// Parameters for the "pipe" audio back end, a back end that directs raw CD-style audio output to a pipe. No interpolation is done. | |
pipe = | |
{ | |
}; | |
// These are no configuration file parameters for the "stdout" audio back end. No interpolation is done. | |
// These are no configuration file parameters for the "ao" audio back end. No interpolation is done. | |
// Static latency settings are deprecated and the settings have been removed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment