1. 11 Jun, 2016 1 commit
    • Adrian Knoth's avatar
      Fix initialization in test/iodelay.cpp · ff1ed2c4
      Adrian Knoth authored
      jack_latency_range_t is
      
      struct _jack_latency_range {
          jack_nframes_t min;
          jack_nframes_t max;
      };
      
      and jack_nframes_t is
      
      typedef uint32_t        jack_nframes_t;
      
      so it's unsigned. Initialising it with -1 is invalid (at least in C++14). We cannot use {0, 0}, because latency_cb has
      
         jack_latency_range_t range;
         range.min = range.max = 0;
         if ((range.min != capture_latency.min) || (range.max !=
             capture_latency.max)) {
             capture_latency = range;
         }
      
      so we must not have {0, 0}, otherwise the condition would never be true.
      
      Using UINT32_MAX should be equivalent to the previous -1.
      ff1ed2c4
  2. 08 Nov, 2012 1 commit
  3. 04 Nov, 2011 1 commit
  4. 15 Jul, 2011 1 commit
  5. 13 Jul, 2011 1 commit
  6. 11 Mar, 2011 1 commit
  7. 09 Mar, 2011 2 commits
  8. 25 Nov, 2008 2 commits
  9. 16 May, 2008 1 commit
  10. 15 May, 2008 1 commit
  11. 03 Sep, 2006 3 commits