Home
last modified time | relevance | path

Searched refs:sw_params (Results 1 – 1 of 1) sorted by relevance

/sound/core/oss/
Dpcm_oss.c833 struct snd_pcm_sw_params *sw_params; in snd_pcm_oss_change_params_locked() local
845 sw_params = kzalloc(sizeof(*sw_params), GFP_KERNEL); in snd_pcm_oss_change_params_locked()
848 if (!sw_params || !params || !sparams) { in snd_pcm_oss_change_params_locked()
985 sw_params->start_threshold = 1; in snd_pcm_oss_change_params_locked()
987 sw_params->start_threshold = runtime->boundary; in snd_pcm_oss_change_params_locked()
991 sw_params->stop_threshold = runtime->boundary; in snd_pcm_oss_change_params_locked()
993 sw_params->stop_threshold = runtime->buffer_size; in snd_pcm_oss_change_params_locked()
994 sw_params->tstamp_mode = SNDRV_PCM_TSTAMP_NONE; in snd_pcm_oss_change_params_locked()
995 sw_params->period_step = 1; in snd_pcm_oss_change_params_locked()
996 sw_params->avail_min = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pcm_oss_change_params_locked()
[all …]