X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fcore%2Fpcm_lib.c;h=db3d7e934ec3bf1655b0c4ed0a1d1e64e72f0a6d;hb=b751eef1fdffca5532344285f2fad0c60d2f0158;hp=93d7ca502730ce6b5f26a0127ae4da3013655612;hpb=25543fa785a32ce22e7374ba403eb6d38854d037;p=linux-2.6 diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c index 93d7ca5027..db3d7e934e 100644 --- a/sound/core/pcm_lib.c +++ b/sound/core/pcm_lib.c @@ -188,7 +188,7 @@ static inline int snd_pcm_update_hw_ptr_interrupt(struct snd_pcm_substream *subs snd_pcm_sframes_t delta; if (runtime->tstamp_mode == SNDRV_PCM_TSTAMP_MMAP) - getnstimeofday((struct timespec *)&runtime->status->tstamp); + snd_pcm_gettime(runtime, (struct timespec *)&runtime->status->tstamp); pos = snd_pcm_update_hw_ptr_pos(substream, runtime); if (pos == SNDRV_PCM_POS_XRUN) { xrun(substream);