mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
- added poll_ask callback to mangle avail_min (rate_plugin as example)
- added mangling of avail_min to rate_plugin - added poll_fd_count variable - FIXME: move poll_revents callback to fast_ops
This commit is contained in:
parent
81f8c76094
commit
7c201b510a
15 changed files with 132 additions and 13 deletions
|
|
@ -149,6 +149,7 @@ typedef struct {
|
|||
int (*hwsync)(snd_pcm_t *pcm);
|
||||
int (*delay)(snd_pcm_t *pcm, snd_pcm_sframes_t *delayp);
|
||||
int (*resume)(snd_pcm_t *pcm);
|
||||
int (*poll_ask)(snd_pcm_t *pcm);
|
||||
snd_pcm_sframes_t (*rewind)(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
|
||||
snd_pcm_sframes_t (*forward)(snd_pcm_t *pcm, snd_pcm_uframes_t frames);
|
||||
snd_pcm_sframes_t (*writei)(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size);
|
||||
|
|
@ -165,6 +166,7 @@ struct _snd_pcm {
|
|||
snd_pcm_type_t type;
|
||||
snd_pcm_stream_t stream;
|
||||
int mode;
|
||||
int poll_fd_count;
|
||||
int poll_fd;
|
||||
unsigned short poll_events;
|
||||
int setup;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue