diff options
author | Mike Brady <mikebrady@eircom.net> | 2019-01-30 09:24:10 +0000 |
---|---|---|
committer | Mike Brady <mikebrady@eircom.net> | 2019-01-30 09:24:10 +0000 |
commit | c5ff0dfed0d11605d75c4795ab059e903fa42c02 (patch) | |
tree | 45e8ca41b1082ddd4d05d752b640ac009453ae52 /player.h | |
parent | aa5698fce22c20fc2dcc8e05b14e0c0c2a716e29 (diff) |
Rebuild the volume control calculations. Implement software mute. Try to delay alsa initialisation as long as possible.
Diffstat (limited to 'player.h')
-rw-r--r-- | player.h | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -68,14 +68,15 @@ typedef struct { } stream_cfg; typedef struct { - int connection_number; // for debug ID purposes, nothing else... - int resend_interval; // this is really just for debugging - int AirPlayVersion; // zero if not an AirPlay session. Used to help calculate latency - uint32_t latency; // the actual latency used for this play session - uint32_t minimum_latency; // set if an a=min-latency: line appears in the ANNOUNCE message; zero - // otherwise - uint32_t maximum_latency; // set if an a=max-latency: line appears in the ANNOUNCE message; zero - // otherwise + int connection_number; // for debug ID purposes, nothing else... + int resend_interval; // this is really just for debugging + int AirPlayVersion; // zero if not an AirPlay session. Used to help calculate latency + uint32_t latency; // the actual latency used for this play session + uint32_t minimum_latency; // set if an a=min-latency: line appears in the ANNOUNCE message; zero + // otherwise + uint32_t maximum_latency; // set if an a=max-latency: line appears in the ANNOUNCE message; zero + // otherwise + int software_mute_enabled; // if we don't have a real mute that we can use int fd; int authorized; // set if a password is required and has been supplied |