diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-02 23:26:38 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-02 23:26:38 +0200 |
commit | abf068e9f37d8f150c438ded3b56f63de6954bcf (patch) | |
tree | 0866ac58c45b5f7778538c6b75a96f0b9118a6d9 | |
parent | 26f3ff0da9f196e7f64bbdaf3f0e6ff002cd0a58 (diff) |
print out the pcm stream
-rw-r--r-- | src/pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |