alsamidisrc: fix compiler warning with clang 10
authorJordan Petridis <jordan@centricular.com>
Tue, 4 Aug 2020 12:17:35 +0000 (15:17 +0300)
committerJordan Petridis <jordan@centricular.com>
Tue, 4 Aug 2020 12:19:08 +0000 (15:19 +0300)
commit31d683d59e4b48401b915c90588afa0fed20f029
tree58ad54205f89ef7c63cc68cca9ff4ed1510bbb9b
parent0d246fb8b0c5712294524e698007f29817f02572
alsamidisrc: fix compiler warning with clang 10

```
../subprojects/gst-plugins-base/ext/alsa/gstalsamidisrc.c:201:54: error: converting the result of '<<' to a boolean always evaluates to false [-Werror,-Wtautological-constant-compare]
  snd_seq_ev_schedule_real (&ev, alsamidisrc->queue, SND_SEQ_TIME_MODE_ABS,
                                                     ^
/usr/include/alsa/seq_event.h:215:34: note: expanded from macro 'SND_SEQ_TIME_MODE_ABS'
```

The ALSA API expects 0 or 1 here and will then add the flags accordingly,
and that's also what other code using this API does.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/777>
ext/alsa/gstalsamidisrc.c