search for: hwparam

Displaying 3 results from an estimated 3 matches for "hwparam".

Did you mean: wparam
2003 Mar 26
1
libao alsa output
..._alsa09.c 2001-12-19 07:39:24.000000000 +0900 +++ ao_alsa09.c 2003-03-23 17:30:40.000000000 +0900 @@ -192,18 +192,6 @@ if (err < 0) goto error; - cmd = "snd_pcm_hw_params_set_period_size"; - err = snd_pcm_hw_params_set_period_size(internal->pcm_handle, hwparams, - internal->buf_size / internal->sample_size, 0); - if (err < 0) - goto error; - - cmd = "snd_pcm_hw_params_set_periods"; - err = snd_pcm_hw_params_set_periods(internal->pcm_handle, hwparams, - internal->periods * format->channels, 0); - if (err < 0) - goto er...
2004 Aug 06
0
Patch for IceS (im_alsa.c)
...Graduate Student University Radio of Copenhagen Dept. of Comp. Science Denmark University of Copenhagen <p> 167a168 > int realrate; /* For storing the actual sample rate */ 227c228 < if ((err = snd_pcm_hw_params_set_rate_near(s->fd, hwparams, &s->rate, 0)) < 0) --- > if ((err = realrate = snd_pcm_hw_params_set_rate_near(s->fd, hwparams, &s->rate, 0)) < 0) 257a259,265 > /* Check that sample rate was set correctly */ > LOG_DEBUG1("ALSA Sound card has sample rate %d", realrate); >...
2017 Apr 05
3
[PATCH 02/38] Annotate hardware config module parameters in arch/x86/mm/
When the kernel is running in secure boot mode, we lock down the kernel to prevent userspace from modifying the running kernel image. Whilst this includes prohibiting access to things like /dev/mem, it must also prevent access by means of configuring driver modules in such a way as to cause a device to access or modify the kernel image. To this end, annotate module_param* statements that refer