Lines Matching defs:runtime
174 struct snd_pcm_runtime *runtime = substream->runtime;
198 runtime->hw.channels_max = DUAL_CHANNEL;
199 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
201 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
497 struct snd_pcm_runtime *runtime = substream->runtime;
499 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
501 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
674 struct snd_pcm_runtime *runtime = substream->runtime;
676 runtime->hw.channels_max = DUAL_CHANNEL;
677 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
679 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
830 struct snd_pcm_runtime *runtime = substream->runtime;
832 runtime->hw.channels_max = DUAL_CHANNEL;
833 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
835 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
837 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_SAMPLE_BITS,
1046 struct snd_pcm_runtime *runtime = substream->runtime;
1048 runtime->hw.channels_max = 2;
1049 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
1052 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE;
1053 snd_pcm_hw_constraint_list(runtime, 0,
1191 struct snd_pcm_runtime *runtime = substream->runtime;
1193 runtime->hw.channels_max = DUAL_CHANNEL;
1194 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_CHANNELS,
1196 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE,
1198 snd_pcm_hw_constraint_list(substream->runtime, 0,