another float/double -Wabsolute-value fix
[ardour.git] / libs / backends / dummy / dummy_audiobackend.h
index feff97d050f64b0c5d2253f4378727d32a71b354..226018d58444dc51315b5ed33c027e76b5a0ab15 100644 (file)
@@ -93,7 +93,7 @@ class DummyPort {
                virtual void* get_buffer (pframes_t nframes) = 0;
                void next_period () { _gen_cycle = false; }
 
-               const LatencyRange& latency_range (bool for_playback) const
+               const LatencyRange latency_range (bool for_playback) const
                {
                        return for_playback ? _playback_latency_range : _capture_latency_range;
                }
@@ -156,6 +156,8 @@ class DummyAudioPort : public DummyPort {
                        KronekerDelta,
                        SineSweep,
                        SineSweepSwell,
+                       SquareSweep,
+                       SquareSweepSwell,
                        Loopback,
                };
                void setup_generator (GeneratorType const, float const);