summaryrefslogtreecommitdiff
path: root/scripts/shairport-sync.conf
diff options
context:
space:
mode:
authorMike Brady <mikebrady@eircom.net>2019-02-19 11:12:03 +0000
committerGitHub <noreply@github.com>2019-02-19 11:12:03 +0000
commitec84f0fd9830e21f8d8817cfcf50555b10a400e2 (patch)
treed664fec4e8cbd6fbc29ff2f7bc8b340a652e5601 /scripts/shairport-sync.conf
parent10edce345271eac5c89b1a95866ed0350bc092eb (diff)
parente59da78348903a4c31f1064e56beac214fcc10de (diff)
Merge pull request #809 from nettings/development
Modify audio_jack.c to use native jack lockless buffers and to offer auto connect facilities. Overall, the backend is now written more in the idiom of jack audio. Many thanks to [Jörn Nettingsmeier](https://github.com/nettings).
Diffstat (limited to 'scripts/shairport-sync.conf')
-rw-r--r--scripts/shairport-sync.conf13
1 files changed, 8 insertions, 5 deletions
diff --git a/scripts/shairport-sync.conf b/scripts/shairport-sync.conf
index 52d3232..c5d83eb 100644
--- a/scripts/shairport-sync.conf
+++ b/scripts/shairport-sync.conf
@@ -108,11 +108,14 @@ pa =
// Parameters for the "jack" JACK Audio Connection Kit backend.
jack =
{
-// client_name = "Shairport Sync"; //Set this to the name of the client that should appear in "Connections" when Shairport Sync is active.
-// left_channel_name = "left"; //Set this to the name of the left output port that should appear in "Connections" when Shairport Sync is active.
-// right_channel_name = "right"; //Set this to the name of the right output port that should appear in "Connections" when Shairport Sync is active.
-// auto_client_open_interval = 1; // Set this to the interval in seconds between automatic attempts to open a client on the jack server. Set to zero to disable this behaviour.
-// auto_client_disconnect = "no"; // Set this to "yes" to close the jack client automatically at then end of a play session. Default is no -- the client stays connected.
+// client_name = "shairport-sync"; // Set this to the name of the client that should appear in "Connections" when Shairport Sync is active.
+// autoconnect_pattern = ""; // Set this to a POSIX regular expression pattern that describes the ports you would like to connect to
+// automatically. Examples:
+// "system:playback_[12]"
+// "some_app_[0-9]*:in-[LR]"
+// "jack_mixer:in_2[78]"
+// Beware: if you make a syntax error, libjack might crash. In that case, fix it and start over.
+// For a good overview, look here: https://www.ibm.com/support/knowledgecenter/SS8NLW_11.0.1/com.ibm.swg.im.infosphere.dataexpl.engine.doc/c_posix-regex-examples.html
};
// Parameters for the "pipe" audio back end, a back end that directs raw CD-style audio output to a pipe. No interpolation is done.