24 Jan
2018
24 Jan
'18
1 p.m.
From: Timo Wischer twischer@de.adit-jv.com
to avoid issues with different architetures where sizeof(unsigned int) != sizeof(snd_pcm_uframes_t)
Additionally the type describes the unit of the variable, now.
Signed-off-by: Timo Wischer twischer@de.adit-jv.com
diff --git a/jack/pcm_jack.c b/jack/pcm_jack.c index a4f35f4..53192dc 100644 --- a/jack/pcm_jack.c +++ b/jack/pcm_jack.c @@ -41,7 +41,7 @@ typedef struct { char **port_names; unsigned int num_ports; snd_pcm_uframes_t boundary; - unsigned int hw_ptr; + snd_pcm_uframes_t hw_ptr; unsigned int sample_bits; snd_pcm_uframes_t min_avail;
--
2.7.4