Changeset 7f6d84b in mainline for uspace/srv/audio/hound/audio_device.c
- Timestamp:
- 2013-03-20T23:18:56Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 493817b0
- Parents:
- 842eecdd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/audio_device.c
r842eecdd r7f6d84b 196 196 switch(IPC_GET_IMETHOD(call)) { 197 197 case PCM_EVENT_FRAMES_PLAYED: { 198 struct timeval time1; 199 getuptime(&time1); 198 200 //TODO add underrun protection. 199 201 if (dev->buffer.position) { … … 209 211 audio_sink_mix_inputs(&dev->sink, dev->buffer.position, 210 212 dev->buffer.size / BUFFER_PARTS); 213 struct timeval time2; 214 getuptime(&time2); 215 log_verbose("Time to mix sources: %li\n", 216 tv_sub(&time2, &time1)); 211 217 break; 212 218 }
Note:
See TracChangeset
for help on using the changeset viewer.