Set the pcm operators
void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, const struct snd_pcm_ops * ops);
pcm
the pcm instance
direction
stream direction, SNDRV_PCM_STREAM_XXX
ops
the operator table
Sets the given PCM operators to the pcm instance.