Paul Davis wrote: > >some functions take an int parameter called dir (e.g.: > >snd_pcm_hw_params_set_rate()). > >What is the meaning of that parameter? > > its to let you know if the actual value set is above, below or equal > to the one you asked for. > > --p
But how could this be in this case: int snd_pcm_hw_params_set_rate(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val, int dir); dir is not a pointer? By the way, my impression was that only functions with _near postfix are allowed to choose a value different to the requested one? /FAU ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel