OSDN Git Service

pcm: Fix a typo in SND_PCM_AUDIO_TSTAMP_TYPE_LAST definition
authorTakashi Iwai <tiwai@suse.de>
Tue, 22 Dec 2020 15:10:16 +0000 (16:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Dec 2020 15:11:05 +0000 (16:11 +0100)
It was wrongly defined with SNDRV_ prefix.  Fix it.

Fixes: ea02dbd20a53 ("pcm: Add snd_pcm_audio_tstamp_type_t constants")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/pcm.h

index cf1eea8..e300b95 100644 (file)
@@ -361,7 +361,7 @@ typedef enum _snd_pcm_audio_tstamp_type {
        SND_PCM_AUDIO_TSTAMP_TYPE_LINK_ABSOLUTE = 3,       /**< link time reported by sample or wallclock counter, not reset on startup */
        SND_PCM_AUDIO_TSTAMP_TYPE_LINK_ESTIMATED = 4,    /**< link time estimated indirectly */
        SND_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED = 5, /**< link time synchronized with system time */
-       SND_PCM_AUDIO_TSTAMP_TYPE_LAST = SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED
+       SND_PCM_AUDIO_TSTAMP_TYPE_LAST = SND_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED
 } snd_pcm_audio_tstamp_type_t;
 
 typedef struct _snd_pcm_audio_tstamp_config {