DummyAudioBackend: fix freewheelin' typo
authorRobin Gareus <robin@gareus.org>
Tue, 29 Apr 2014 10:57:03 +0000 (12:57 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 29 Apr 2014 11:32:13 +0000 (13:32 +0200)
libs/backends/dummy/dummy_audiobackend.cc

index 0323517a21cd7dd3a4443107d9ae4d4e05a741f8..f0eeb8db1218337e65606627085ed092f6f0da54 100644 (file)
@@ -332,7 +332,7 @@ DummyAudioBackend::stop ()
 int
 DummyAudioBackend::freewheel (bool onoff)
 {
-       if (onoff != _freewheeling) {
+       if (onoff == _freewheeling) {
                return 0;
        }
        _freewheeling = onoff;