X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/67895023d60fc492720d2f575045ed0173948947..80dc2c5fd3ab604742d8a6bd5526071de41e44c3:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index acb96b7..47856d7 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -26,6 +26,7 @@ #include "speaker-protocol.h" #include "rights.h" +#include "addr.h" struct uaudio; @@ -154,7 +155,7 @@ struct config { long prefsync; /* preflog sync interval */ /** @brief Secondary listen address */ - struct stringlist listen; + struct netaddress listen; /** @brief Alias format string */ const char *alias; @@ -171,6 +172,9 @@ struct config { /** @brief Command execute by speaker to play audio */ const char *speaker_command; + /** @brief Pause mode for command backend */ + const char *pause_mode; + /** @brief Target sample format */ struct stream_header sample_format; @@ -230,10 +234,10 @@ struct config { struct transformlist transform; /* path name transformations */ /** @brief Address to send audio data to */ - struct stringlist broadcast; + struct netaddress broadcast; /** @brief Source address for network audio transmission */ - struct stringlist broadcast_from; + struct netaddress broadcast_from; /** @brief RTP delay threshold */ long rtp_delay_threshold;