Ignore:
Timestamp:
2018-08-25T21:35:26Z (6 years ago)
Author:
GitHub <noreply@…>
Parents:
e2625b1a (diff), 3c45353 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jakub Jermář <jakub@…> (2018-08-25 21:35:26)
git-committer:
GitHub <noreply@…> (2018-08-25 21:35:26)
Message:

Merge 3c453534a2b093c8039d8e8059b923c71f3492a3 into e2625b1a1e5a2895b86f0e39c2d70a39e49e042a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/audio_device.c

    re2625b1a r231b3fd  
    266266static void device_event_callback(ipc_call_t *icall, void *arg)
    267267{
    268         struct timeval time1;
     268        struct timespec time1;
    269269        errno_t ret;
    270270
     
    286286                            dev->buffer.fragment_size);
    287287                        advance_buffer(dev, dev->buffer.fragment_size);
    288                         struct timeval time2;
     288                        struct timespec time2;
    289289                        getuptime(&time2);
    290                         log_verbose("Time to mix sources: %li\n",
    291                             tv_sub_diff(&time2, &time1));
     290                        log_verbose("Time to mix sources: %lld\n",
     291                            NSEC2USEC(ts_sub_diff(&time2, &time1)));
    292292                        break;
    293293                case PCM_EVENT_CAPTURE_TERMINATED:
Note: See TracChangeset for help on using the changeset viewer.