Lines Matching refs:stream
113 static snd_pcm_stream_t stream = SND_PCM_STREAM_PLAYBACK;
224 "-M, --mmap mmap stream\n"
283 snd_pcm_stream_name(stream));
305 snd_pcm_info_set_stream(pcminfo, stream);
347 filter = stream == SND_PCM_STREAM_CAPTURE ? "Input" : "Output";
552 stream = SND_PCM_STREAM_CAPTURE;
558 stream = SND_PCM_STREAM_PLAYBACK;
765 stream = SND_PCM_STREAM_PLAYBACK;
769 stream = SND_PCM_STREAM_CAPTURE;
848 err = snd_pcm_open(&handle, pcm_name, stream, open_mode);
869 stream == SND_PCM_STREAM_CAPTURE &&
916 if (stream == SND_PCM_STREAM_PLAYBACK)
922 if (stream == SND_PCM_STREAM_PLAYBACK)
929 if (stream == SND_PCM_STREAM_PLAYBACK)
1698 stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),
1709 stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),
1718 stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),
1733 if (stream == SND_PCM_STREAM_CAPTURE) {
1734 fprintf(stderr, _("capture stream format change? attempting recover...\n"));
1762 fprintf(stderr, _("Failed. Restarting stream. ")); fflush(stderr);
2033 } else if (stream == SND_PCM_STREAM_CAPTURE && avail > delay) {
2037 } else if (stream == SND_PCM_STREAM_CAPTURE && savail > sdelay) {
2864 name = (stream == SND_PCM_STREAM_PLAYBACK) ? "stdout" : "stdin";
2866 (stream == SND_PCM_STREAM_PLAYBACK) ? _("Playing") : _("Recording"),
3253 int tostdout=0; /* boolean which describes output stream */