mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -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
|
|
@ -125,7 +125,7 @@ static void signal_handler(int sig) {
|
|||
char t[256];
|
||||
#endif
|
||||
|
||||
now = pa_rtclock_usec();
|
||||
now = pa_rtclock_now();
|
||||
elapsed = now - last_time;
|
||||
|
||||
#ifdef PRINT_CPU_LOAD
|
||||
|
|
@ -184,7 +184,7 @@ int pa_cpu_limit_init(pa_mainloop_api *m) {
|
|||
pa_assert(the_pipe[1] == -1);
|
||||
pa_assert(!installed);
|
||||
|
||||
last_time = pa_rtclock_usec();
|
||||
last_time = pa_rtclock_now();
|
||||
|
||||
/* Prepare the main loop pipe */
|
||||
if (pipe(the_pipe) < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue