From 7189e18d693fcf141dbcfaf600e193cda292d902 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Tue, 29 Mar 2016 16:07:22 +0000 Subject: [PATCH] Change latency representations to long as that's closr to what alsa uses. --- common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.h b/common.h index 1d6d4f4a..8ce172ea 100644 --- a/common.h +++ b/common.h @@ -85,9 +85,9 @@ typedef struct { char *logfile; char *errfile; char *configfile; - int32_t audio_backend_buffer_desired_length; // this will be the desired number of frames in the + long audio_backend_buffer_desired_length; // this will be the desired number of frames in the // audio backend buffer -- the DAC buffer for ALSA - int32_t audio_backend_latency_offset; // this will be the offset to compensate for any fixed latency + long audio_backend_latency_offset; // this will be the offset to compensate for any fixed latency uint32_t volume_range_db; // the range, in dB, from max dB to min dB. Zero means use the mixer's native range. // there might be in the audio } shairport_cfg;