mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Defined symbols exposing the hrtimer to applications.
Signed-off-by: Pedro Lopez-Cabanillas <pedro.lopez.cabanillas@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
407e98b4c3
commit
ef2d3cf747
2 changed files with 3 additions and 0 deletions
|
|
@ -593,6 +593,7 @@ enum sndrv_timer_slave_class {
|
|||
#define SNDRV_TIMER_GLOBAL_SYSTEM 0
|
||||
#define SNDRV_TIMER_GLOBAL_RTC 1
|
||||
#define SNDRV_TIMER_GLOBAL_HPET 2
|
||||
#define SNDRV_TIMER_GLOBAL_HRTIMER 3
|
||||
|
||||
/* info flags */
|
||||
#define SNDRV_TIMER_FLG_SLAVE (1<<0) /* cannot be controlled */
|
||||
|
|
|
|||
|
|
@ -115,6 +115,8 @@ typedef struct _snd_timer_tread {
|
|||
#define SND_TIMER_GLOBAL_RTC 1
|
||||
/** global timer - HPET */
|
||||
#define SND_TIMER_GLOBAL_HPET 2
|
||||
/** global timer - HRTIMER */
|
||||
#define SND_TIMER_GLOBAL_HRTIMER 3
|
||||
|
||||
/** timer open mode flag - non-blocking behaviour */
|
||||
#define SND_TIMER_OPEN_NONBLOCK (1<<0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue