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
|
|
@ -1002,7 +1002,6 @@ static snd_pcm_ops_t snd_pcm_hw_ops = {
|
|||
.dump = snd_pcm_hw_dump,
|
||||
.nonblock = snd_pcm_hw_nonblock,
|
||||
.async = snd_pcm_hw_async,
|
||||
.poll_revents = NULL,
|
||||
.mmap = snd_pcm_hw_mmap,
|
||||
.munmap = snd_pcm_hw_munmap,
|
||||
};
|
||||
|
|
@ -1030,6 +1029,9 @@ static snd_pcm_fast_ops_t snd_pcm_hw_fast_ops = {
|
|||
.readn = snd_pcm_hw_readn,
|
||||
.avail_update = snd_pcm_hw_avail_update,
|
||||
.mmap_commit = snd_pcm_hw_mmap_commit,
|
||||
.poll_descriptors = NULL,
|
||||
.poll_descriptors_count = NULL,
|
||||
.poll_revents = NULL,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue