mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
direct plugins (dmix) - suspend/resume fixes
- this patch adds support for suspend & result for dmix and other direct plugins - the timer detection / initialization (TREAD support) was redesigned and the check for proper driver version was moved to the timer_hw.c
This commit is contained in:
parent
7450dbcf36
commit
bac9a7de83
8 changed files with 70 additions and 36 deletions
|
|
@ -85,11 +85,15 @@ typedef enum _snd_timer_event {
|
|||
SND_TIMER_EVENT_CONTINUE, /* val = resolution in ns */
|
||||
SND_TIMER_EVENT_PAUSE, /* val = 0 */
|
||||
SND_TIMER_EVENT_EARLY, /* val = 0 */
|
||||
SND_TIMER_EVENT_SUSPEND, /* val = 0 */
|
||||
SND_TIMER_EVENT_RESUME, /* val = resolution in ns */
|
||||
/* master timer events for slave timer instances */
|
||||
SND_TIMER_EVENT_MSTART = SND_TIMER_EVENT_START + 10,
|
||||
SND_TIMER_EVENT_MSTOP = SND_TIMER_EVENT_STOP + 10,
|
||||
SND_TIMER_EVENT_MCONTINUE = SND_TIMER_EVENT_CONTINUE + 10,
|
||||
SND_TIMER_EVENT_MPAUSE = SND_TIMER_EVENT_PAUSE + 10,
|
||||
SND_TIMER_EVENT_MSUSPEND = SND_TIMER_EVENT_SUSPEND + 10,
|
||||
SND_TIMER_EVENT_MRESUME = SND_TIMER_EVENT_RESUME + 10
|
||||
} snd_timer_event_t;
|
||||
|
||||
/** timer read structure */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue