Home
last modified time | relevance | path

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

/drivers/staging/most/aim-sound/
Dsound.c480 static int audio_set_hw_params(struct snd_pcm_hardware *pcm_hw, in audio_set_hw_params() argument
484 pcm_hw->info = MOST_PCM_INFO; in audio_set_hw_params()
485 pcm_hw->rates = SNDRV_PCM_RATE_48000; in audio_set_hw_params()
486 pcm_hw->rate_min = 48000; in audio_set_hw_params()
487 pcm_hw->rate_max = 48000; in audio_set_hw_params()
488 pcm_hw->buffer_bytes_max = cfg->num_buffers * cfg->buffer_size; in audio_set_hw_params()
489 pcm_hw->period_bytes_min = cfg->buffer_size; in audio_set_hw_params()
490 pcm_hw->period_bytes_max = cfg->buffer_size; in audio_set_hw_params()
491 pcm_hw->periods_min = 1; in audio_set_hw_params()
492 pcm_hw->periods_max = cfg->num_buffers; in audio_set_hw_params()
[all …]