diff --git a/scripts/shairport-sync b/scripts/shairport-sync index d1175504..8288d6e7 100755 --- a/scripts/shairport-sync +++ b/scripts/shairport-sync @@ -63,7 +63,7 @@ do_start() # BTW, if you're using software volume control, you may have to use alsamixer or similar to set the output device's volume to its maximum level first # BTW2, you can use alsamixer to find device identifiers (e.g. hw:1) and mixer names (e.g. "Speaker"). No need to change ALSA's defaults. # BTW3, the argument after -a is simply the name the shairport service will be visible as. - start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- -d || return 2 + start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- || return 2 # start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- -d -a "Topping TP30 or Griffin iMic on Raspberry Pi" -- -d hw:1 -t hardware -c "PCM" || return 2 # start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- -d -a "'3D Sound' USB Soundcard on Raspberry Pi" -- -d hw:1 -t hardware -c "Speaker" || return 2 # BTW, that "3D Sound" USB soundcard sometimes has the mixer name "Headphone" rather than "Speaker" -- use alsamixer to check. diff --git a/scripts/shairport-sync.conf b/scripts/shairport-sync.conf index c49f141b..03c44d54 100644 --- a/scripts/shairport-sync.conf +++ b/scripts/shairport-sync.conf @@ -1,10 +1,11 @@ // Sample Configuration File for Shairport Sync +// Commented out settings are generally the defaults. // General Settings general = { // name = "Shairport Sync Player"; // This is the name the service will advertise to iTunes. The default is "Shairport Sync on " -// daemonize = "no"; + daemonize = "yes"; // default is "no" // mdns_backend = "avahi"; // not used, not tested // output_backend = "alsa"; // setting is not used, alsa is default // port = 5000; @@ -14,7 +15,7 @@ general = // drift = 88; // allow this number of frames of drift before correcting it // resync_threshold = 2205; // a synchronisation error greater than this will cause resynchronisation; 0 disables it // log_verbosity = 0; // "0" means no verbosity, "3" is highest. -// ignore_volume_control = "no"; // set this to "yes" if you want the volume to be at 100% no matter what the volume control is set to. +// 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. }; latencies =