mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Implemented snd_pcm_sw_params_(set|get)_period_event for interrupt wakeup like behaviour
Actually, PCM timer is used as source for poll(). It might be optimized in the kernel code later.
This commit is contained in:
parent
c88672d86f
commit
8aaccc9484
6 changed files with 231 additions and 7 deletions
|
|
@ -396,7 +396,8 @@ struct sndrv_pcm_sw_params {
|
|||
sndrv_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */
|
||||
sndrv_pcm_uframes_t silence_size; /* silence block size */
|
||||
sndrv_pcm_uframes_t boundary; /* pointers wrap point */
|
||||
unsigned char reserved[64]; /* reserved for future */
|
||||
unsigned char reserved[60]; /* reserved for future */
|
||||
unsigned int period_event; /* for alsa-lib implementation */
|
||||
};
|
||||
|
||||
struct sndrv_pcm_channel_info {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue