* Re: snd_pcm_htimestamp error
[not found] <5594AA86.4000802@gmail.com>
@ 2015-07-03 4:42 ` Arun Raghavan
2015-07-03 6:41 ` golden
0 siblings, 1 reply; 2+ messages in thread
From: Arun Raghavan @ 2015-07-03 4:42 UTC (permalink / raw)
To: General PulseAudio Discussion; +Cc: alsa-devel@alsa-project.org
It looks like this might be more relevant on alsa-devel. Some more
details on the platform might be useful.
-- Arun
On 2 July 2015 at 08:35, golden <magic.lixin@gmail.com> wrote:
> Hi PulseAudio forks,
>
> snd_pcm_htimestamp is unstable after change the date time of OS by using
> "date -s xxx-xxx-xx",
> It is very strange that the time value get from snd_pcm_htimestamp is
> always 1420588802151082308
>
> and 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
> pulseaudio-discuss@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: snd_pcm_htimestamp error
2015-07-03 4:42 ` snd_pcm_htimestamp error Arun Raghavan
@ 2015-07-03 6:41 ` golden
0 siblings, 0 replies; 2+ messages in thread
From: golden @ 2015-07-03 6:41 UTC (permalink / raw)
To: Arun Raghavan, General PulseAudio Discussion; +Cc: alsa-devel@alsa-project.org
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.
在 2015年07月03日 12:42, Arun Raghavan 写道:
> It looks like this might be more relevant on alsa-devel. Some more
> details on the platform might be useful.
>
> -- Arun
>
> On 2 July 2015 at 08:35, golden <magic.lixin@gmail.com> wrote:
>> Hi PulseAudio forks,
>>
>> snd_pcm_htimestamp is unstable after change the date time of OS by using
>> "date -s xxx-xxx-xx",
>> It is very strange that the time value get from snd_pcm_htimestamp is
>> always 1420588802151082308
>>
>> and 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
>> pulseaudio-discuss@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-03 6:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <5594AA86.4000802@gmail.com>
2015-07-03 4:42 ` snd_pcm_htimestamp error Arun Raghavan
2015-07-03 6:41 ` golden
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.