snd_pcm_htimestamp error
It looks like this might be more relevant on alsa-devel. Some more details on the platform might be useful.
-- Arun
Quoted 27 lines · golden
Hi PulseAudio forks,
snd_pcm_htimestampis unstable after change the date time of OS by using
"date -s xxx-xxx-xx",
It is very strange that the time value get fromsnd_pcm_htimestampis
always 1420588802151082308and here is what I get when cat the alsa infomation: uid=0 gid=0@nutshell:/ # cat /proc/asound/card0/pcm0p/sub0/status state: RUNNING owner_pid : 1339 trigger_time: 1420591411.800808521 tstamp : 1420591457.486751372 delay : 5040 avail : 3152 avail_max : 0 ----- hw_ptr : 2193408 appl_ptr : 2198448 Does anyone met this problem before ? Thanks!
Quoted 6 lines
BR,
Lixin
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
Thanks, I just found the problem, when building alsa-lib, the HAVE_CLOCK_GETTIME is not defined in config.h,
so mononic time is not supported in alsa-lib, after changed system date, snd_pcm_htimestamp always return the time from 1970.
Quoted 39 lines · Arun Raghavan
It looks like this might be more relevant on alsa-devel. Some more details on the platform might be useful.
-- Arun
Quoted 33 lines · golden
Hi PulseAudio forks,
snd_pcm_htimestampis unstable after change the date time of OS by using
"date -s xxx-xxx-xx",
It is very strange that the time value get fromsnd_pcm_htimestampis
always 1420588802151082308and here is what I get when cat the alsa infomation: uid=0 gid=0@nutshell:/ # cat /proc/asound/card0/pcm0p/sub0/status state: RUNNING owner_pid : 1339 trigger_time: 1420591411.800808521 tstamp : 1420591457.486751372 delay : 5040 avail : 3152 avail_max : 0 ----- hw_ptr : 2193408 appl_ptr : 2198448 Does anyone met this problem before ? Thanks!BR,
Lixin
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss