From abf068e9f37d8f150c438ded3b56f63de6954bcf Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Fri, 2 Nov 2018 23:26:38 +0200 Subject: print out the pcm stream --- src/pcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pcm.c b/src/pcm.c index 8ac3501..16bec8f 100644 --- a/src/pcm.c +++ b/src/pcm.c @@ -127,8 +127,8 @@ static int sndio_stream(snd_pcm_stream_t stream) { switch (stream) { - case SND_PCM_STREAM_PLAYBACK: return SIO_PLAY; - case SND_PCM_STREAM_CAPTURE: return SIO_REC; + case SND_PCM_STREAM_PLAYBACK: WARNX1("SND_PCM_STREAM_PLAYBACK"); return SIO_PLAY; + case SND_PCM_STREAM_CAPTURE: WARNX1("SND_PCM_STREAM_CAPTURE"); return SIO_REC; } ERRX(EXIT_FAILURE, "unknown stream: %u", stream); } -- cgit v1.2.3