summaryrefslogtreecommitdiff
path: root/src/pcm/pcm_hw.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-07-10 14:37:49 +0200
committerTakashi Iwai <tiwai@suse.de>2014-07-14 18:12:34 +0200
commit65ff6fdafb705b5e2e6d4b9a94a80e5de89f5de1 (patch)
tree5287b1746ee4edac8c320a1288045224a74eb7c5 /src/pcm/pcm_hw.c
parent9b716075de4f2f7f15e428ee7efaa8960ef45b9c (diff)
downloadalsa-lib-65ff6fdafb705b5e2e6d4b9a94a80e5de89f5de1.tar.gz
pcm: Implement timestamp type handling in all plugins
Now all PCM plugins do support the proper timestamp type or pass it over slaves. The internal monotonic flag is dropped and replaced with tstamp_type in all places. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'src/pcm/pcm_hw.c')
-rw-r--r--src/pcm/pcm_hw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pcm/pcm_hw.c b/src/pcm/pcm_hw.c
index bafa8deb..74cff672 100644
--- a/src/pcm/pcm_hw.c
+++ b/src/pcm/pcm_hw.c
@@ -1498,7 +1498,6 @@ int snd_pcm_hw_open_fd(snd_pcm_t **pcmp, const char *name,
pcm->poll_fd = fd;
pcm->poll_events = info.stream == SND_PCM_STREAM_PLAYBACK ? POLLOUT : POLLIN;
pcm->tstamp_type = tstamp_type;
- pcm->monotonic = tstamp_type != SND_PCM_TSTAMP_TYPE_GETTIMEOFDAY;
ret = snd_pcm_hw_mmap_status(pcm);
if (ret < 0) {