diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-10-10 05:49:49 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-11-04 07:17:47 -0500 |
commit | 07799e756c76ecd52cb01a812ba48b7d8ac67633 (patch) | |
tree | 5b6a006d90e631e6b70264aba355314a7cedbbe5 /Documentation/sound/alsa | |
parent | 7c22f1aaa23370bf9ba2dd3abbccbed70dced216 (diff) |
[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/sound/alsa')
-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 { | |||
2190 | unsigned int rate_den; | 2190 | unsigned int rate_den; |
2191 | 2191 | ||
2192 | /* -- SW params -- */ | 2192 | /* -- SW params -- */ |
2193 | int tstamp_timespec; /* use timeval (0) or timespec (1) */ | 2193 | struct timespec tstamp_mode; /* mmap timestamp is updated */ |
2194 | snd_pcm_tstamp_t tstamp_mode; /* mmap timestamp is updated */ | ||
2195 | unsigned int period_step; | 2194 | unsigned int period_step; |
2196 | unsigned int sleep_min; /* min ticks to sleep */ | 2195 | unsigned int sleep_min; /* min ticks to sleep */ |
2197 | snd_pcm_uframes_t xfer_align; /* xfer size need to be a multiple */ | 2196 | snd_pcm_uframes_t xfer_align; /* xfer size need to be a multiple */ |