mirror of
https://gitee.com/openharmony/third_party_alsa-lib
synced 2024-11-23 07:30:32 +00:00
timer: obsolete legacy rtctimer instance
At v4.7 development, ALSA timer interface dropped device instance based on legacy rtctimer implementation. User space applications should not use the device instance. This commit adds comments to notify a corresponding macro should not be used anymore. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
bfd712fe32
commit
d1777a503d
@ -672,7 +672,7 @@ enum {
|
||||
|
||||
/* global timers (device member) */
|
||||
#define SNDRV_TIMER_GLOBAL_SYSTEM 0
|
||||
#define SNDRV_TIMER_GLOBAL_RTC 1
|
||||
#define SNDRV_TIMER_GLOBAL_RTC 1 /* unused */
|
||||
#define SNDRV_TIMER_GLOBAL_HPET 2
|
||||
#define SNDRV_TIMER_GLOBAL_HRTIMER 3
|
||||
|
||||
|
@ -112,7 +112,7 @@ typedef struct _snd_timer_tread {
|
||||
/** global timer - system */
|
||||
#define SND_TIMER_GLOBAL_SYSTEM 0
|
||||
/** global timer - RTC */
|
||||
#define SND_TIMER_GLOBAL_RTC 1
|
||||
#define SND_TIMER_GLOBAL_RTC 1 /* Obsoleted, due to enough legacy. */
|
||||
/** global timer - HPET */
|
||||
#define SND_TIMER_GLOBAL_HPET 2
|
||||
/** global timer - HRTIMER */
|
||||
|
Loading…
Reference in New Issue
Block a user