Lines Matching refs:substream
112 struct snd_pcm_substream *substream = snd->substream;
141 snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_DROP, NULL);
142 snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_HW_PARAMS, params);
144 result = snd_pcm_kernel_ioctl(substream, SNDRV_PCM_IOCTL_PREPARE, NULL);
173 struct snd_pcm_substream *substream = snd->substream;
174 struct snd_pcm_runtime *runtime = substream->runtime;
182 result = snd_pcm_kernel_ioctl(substream,
194 result = snd_pcm_lib_write(snd->substream, buf, frames);
239 /* Open PCM playback device and setup substream */
247 snd->substream = pcm_file->substream;
251 /* Open PCM capture device and setup substream */
256 snd->substream = NULL;
261 snd->substream = pcm_file->substream;
280 /* Close PCM playback device and setup substream */
285 /* Close PCM capture device and setup substream */