mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Move poll_* callbacks to fast_ops
Moved poll_* callbacks to fast_ops. These callbacks may be called frequently indeed.
This commit is contained in:
parent
dae58c0192
commit
dd37bb20ee
25 changed files with 45 additions and 72 deletions
|
|
@ -712,9 +712,6 @@ static snd_pcm_ops_t snd_pcm_ioplug_ops = {
|
|||
.close = snd_pcm_ioplug_close,
|
||||
.nonblock = snd_pcm_ioplug_nonblock,
|
||||
.async = snd_pcm_ioplug_async,
|
||||
.poll_descriptors_count = snd_pcm_ioplug_poll_descriptors_count,
|
||||
.poll_descriptors = snd_pcm_ioplug_poll_descriptors,
|
||||
.poll_revents = snd_pcm_ioplug_poll_revents,
|
||||
.info = snd_pcm_ioplug_info,
|
||||
.hw_refine = snd_pcm_ioplug_hw_refine,
|
||||
.hw_params = snd_pcm_ioplug_hw_params,
|
||||
|
|
@ -749,6 +746,9 @@ static snd_pcm_fast_ops_t snd_pcm_ioplug_fast_ops = {
|
|||
.readn = snd_pcm_ioplug_readn,
|
||||
.avail_update = snd_pcm_ioplug_avail_update,
|
||||
.mmap_commit = snd_pcm_ioplug_mmap_commit,
|
||||
.poll_descriptors_count = snd_pcm_ioplug_poll_descriptors_count,
|
||||
.poll_descriptors = snd_pcm_ioplug_poll_descriptors,
|
||||
.poll_revents = snd_pcm_ioplug_poll_revents,
|
||||
};
|
||||
|
||||
#endif /* !DOC_HIDDEN */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue