mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' find . -name '*.[ch]'
This commit is contained in:
parent
6ad3855639
commit
5dcdd5e358
18 changed files with 66 additions and 66 deletions
|
|
@ -160,7 +160,7 @@ pa_rtpoll *pa_rtpoll_new(void) {
|
|||
PA_LLIST_HEAD_INIT(pa_rtpoll_item, p->items);
|
||||
|
||||
#ifdef DEBUG_TIMING
|
||||
p->timestamp = pa_rtclock_usec();
|
||||
p->timestamp = pa_rtclock_now();
|
||||
p->slept = p->awake = 0;
|
||||
#endif
|
||||
|
||||
|
|
@ -394,7 +394,7 @@ int pa_rtpoll_run(pa_rtpoll *p, pa_bool_t wait) {
|
|||
|
||||
#ifdef DEBUG_TIMING
|
||||
{
|
||||
pa_usec_t now = pa_rtclock_usec();
|
||||
pa_usec_t now = pa_rtclock_now();
|
||||
p->awake = now - p->timestamp;
|
||||
p->timestamp = now;
|
||||
}
|
||||
|
|
@ -421,7 +421,7 @@ int pa_rtpoll_run(pa_rtpoll *p, pa_bool_t wait) {
|
|||
|
||||
#ifdef DEBUG_TIMING
|
||||
{
|
||||
pa_usec_t now = pa_rtclock_usec();
|
||||
pa_usec_t now = pa_rtclock_now();
|
||||
p->slept = now - p->timestamp;
|
||||
p->timestamp = now;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue