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

int snd_pcm_sw_params_set_start_threshold ( snd_pcm_t *pcm  ATTRIBUTE_UNUSED,
snd_pcm_sw_params_t params,
snd_pcm_uframes_t  val 

Set start threshold inside a software configuration container.

pcmPCM handle
paramsSoftware configuration container
valStart threshold in frames
0 otherwise a negative error code

PCM is automatically started when playback frames available to PCM are >= threshold or when requested capture frames are >= threshold

Definition at line 5599 of file pcm.c.

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

Generated by  Doxygen 1.6.0   Back to index