Lines Matching defs:runtime
277 struct snd_pcm_runtime *runtime = substream->runtime;
279 runtime->hw.channels_max = 4;
280 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
283 return snd_pcm_hw_constraint_list(substream->runtime, 0,
303 struct snd_pcm_runtime *runtime = substream->runtime;
312 runtime->hw.channels_max = 2;
313 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
316 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE;
317 snd_pcm_hw_constraint_msbits(runtime, 0, 16, 16);
318 snd_pcm_hw_constraint_list(runtime, 0,