diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-10-10 11:49:49 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-11-04 13:17:47 +0100 |
commit | 07799e756c76ecd52cb01a812ba48b7d8ac67633 (patch) | |
tree | 5b6a006d90e631e6b70264aba355314a7cedbbe5 /Documentation | |
parent | 7c22f1aaa23370bf9ba2dd3abbccbed70dced216 (diff) | |
download | linux-07799e756c76ecd52cb01a812ba48b7d8ac67633.tar.gz linux-07799e756c76ecd52cb01a812ba48b7d8ac67633.tar.bz2 linux-07799e756c76ecd52cb01a812ba48b7d8ac67633.zip |
[ALSA] Use getnstimeofday()
Modules: Documentation,PCM Midlevel,Timer Midlevel,ALSA Core
Use the standard getnstimeofday() function instead of ALSA's own one.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl index f3a2fdca9ad2..ab3dfe074fb1 100644 --- a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl +++ b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl @@ -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 */ |