pipewire/spa/plugins/alsa
Jarkko Sakkinen 8f76d80fde spa: Fix a compiler warning caused by unchecked read()
Wrap read() with the CHECK() used elsewhre in the test program, in order
to render out the compiler warning represented by this transcript:

➜  pipewire (af38edea) ✔ make
ninja -C /home/jarkko/Projects/pipewire/build
ninja: Entering directory `/home/jarkko/Projects/pipewire/build'
[6/397] Compiling C object spa/plugins/alsa/test-timer.p/test-timer.c.o
../spa/plugins/alsa/test-timer.c: In function ‘main’:
../spa/plugins/alsa/test-timer.c:195:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  195 |   read(state.timerfd, &expirations, sizeof(expirations));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
2020-12-24 17:54:32 +02:00
..
acp acp: undo upstream change that breaks duplex mode 2020-12-17 13:05:37 +01:00
mixer acp: add new files as well 2020-12-17 12:07:31 +01:00
90-pipewire-alsa.rules acp: sync with pulseaudio 2020-12-17 12:04:18 +01:00
acp-tool.c acp: use properties for port type and available group 2020-10-28 11:48:24 +01:00
alsa-acp-device.c acp: add options to disable profile and port switching 2020-12-22 13:08:14 +01:00
alsa-pcm-device.c alsa: reload alsa configuration 2020-11-05 10:00:25 +01:00
alsa-pcm-sink.c alsa: make it possible to fix format 2020-12-09 20:33:57 +01:00
alsa-pcm-source.c alsa: make it possible to fix format 2020-12-09 20:33:57 +01:00
alsa-pcm.c alsa-pcm: limit channels to MAX 2020-12-23 20:07:51 +01:00
alsa-pcm.h alsa: handle batch devices 2020-12-11 17:38:27 +01:00
alsa-seq-bridge.c alsa: rename seq-source -> seq-bridge 2020-12-18 11:28:31 +01:00
alsa-seq.c alsa: refactor dll code 2020-12-09 12:09:40 +01:00
alsa-seq.h alsa: refactor dll code 2020-12-09 12:09:40 +01:00
alsa-udev.c v4l2: add inotify support 2020-12-17 10:43:57 +01:00
alsa.c alsa-acp: Add libacp based card device 2020-07-06 12:20:09 +02:00
dll.h alsa: refactor dll code 2020-12-09 12:09:40 +01:00
meson.build alsa: rename seq-source -> seq-bridge 2020-12-18 11:28:31 +01:00
test-timer.c spa: Fix a compiler warning caused by unchecked read() 2020-12-24 17:54:32 +02:00