Move poll_* callbacks to fast_ops

Moved poll_* callbacks to fast_ops.
These callbacks may be called frequently indeed.
This commit is contained in:
Takashi Iwai 2005-05-23 09:03:16 +00:00
parent dae58c0192
commit dd37bb20ee
25 changed files with 45 additions and 72 deletions

View file

@ -567,6 +567,9 @@ snd_pcm_fast_ops_t snd_pcm_plugin_fast_ops = {
.readn = snd_pcm_plugin_readn,
.avail_update = snd_pcm_plugin_avail_update,
.mmap_commit = snd_pcm_plugin_mmap_commit,
.poll_descriptors_count = snd_pcm_generic_poll_descriptors_count,
.poll_descriptors = snd_pcm_generic_poll_descriptors,
.poll_revents = snd_pcm_generic_poll_revents,
};
#endif