Logo Search packages:      
Sourcecode: alsa-lib version File versions  Download package

int snd_pcm_sw_params_set_sleep_min ( snd_pcm_t *pcm  ATTRIBUTE_UNUSED,
snd_pcm_sw_params_t params,
unsigned int  val 

Set minimum number of ticks to sleep inside a software configuration container.

pcmPCM handle
paramsSoftware configuration container
valMinimum ticks to sleep or 0 to disable the use of tick timer
0 otherwise a negative error code

Definition at line 5476 of file pcm.c.

      assert(pcm && params);
      params->sleep_min = val;
      return 0;

Generated by  Doxygen 1.6.0   Back to index