Lines Matching refs:stream
443 (hw->subdevice << 1) | (pcm->stream & 1),
450 (hw->subdevice << 1) | (pcm->stream & 1),
723 assert(pcm->stream != SND_PCM_STREAM_PLAYBACK ||
759 if (pcm->stream != SND_PCM_STREAM_PLAYBACK)
761 /* stream probably in SETUP, prevent divide by zero */
1246 int stream)
1249 if (stream == SND_PCM_STREAM_PLAYBACK)
1260 __fill_chmap_ctl_id(id, hw->device, hw->subdevice, pcm->stream);
1274 * \param stream the direction of PCM stream
1278 * device, substream and stream numbers instead of the already opened
1287 snd_pcm_stream_t stream)
1302 __fill_chmap_ctl_id(&id, dev, subdev, stream);
1391 hw->subdevice, pcm->stream);
1707 ret = snd_pcm_new(&pcm, SND_PCM_TYPE_HW, name, info.stream, mode);
1718 pcm->poll_events = info.stream == SND_PCM_STREAM_PLAYBACK ? POLLOUT : POLLIN;
1742 * \param stream PCM Stream
1753 snd_pcm_stream_t stream, int mode,
1770 switch (stream) {
1778 SNDERR("invalid stream %d", stream);
1872 * \param stream PCM Stream
1880 snd_pcm_stream_t stream, int mode)
2051 err = snd_pcm_hw_open(pcmp, name, card, device, subdevice, stream,