[ALSA] Use getnstimeofday()
[profile/ivi/kernel-x86-ivi.git] / Documentation / sound / alsa / DocBook / writing-an-alsa-driver.tmpl
index f3a2fdc..ab3dfe0 100644 (file)
@@ -2190,8 +2190,7 @@ struct _snd_pcm_runtime {
        unsigned int rate_den;
 
        /* -- SW params -- */
-       int tstamp_timespec;            /* use timeval (0) or timespec (1) */
-       snd_pcm_tstamp_t tstamp_mode;   /* mmap timestamp is updated */
+       struct timespec tstamp_mode;    /* mmap timestamp is updated */
        unsigned int period_step;
        unsigned int sleep_min;         /* min ticks to sleep */
        snd_pcm_uframes_t xfer_align;   /* xfer size need to be a multiple */