cmApBufUpdate() sets an input/output timestamp on each device according to the audio packet timestamp. cmApBufGetIO() returns the timestamp associated with each returned buffer. Added cmApBufOnPortEnable() to zero the timestamp when a port is enabled. This implementation of the audio timestamping processes is a hack because only the first timestamp is stored (after a call to cmApBufOnPortEnable()) and all subsequent timestamps are generated by incrementing this value according to the incoming/outgoing sample count.master
|
|
||
4 |
|
4 |
|
5 |
|
5 |
|
6 |
|
6 |
|
|
7 |
|
|
7 |
|
8 |
|
8 |
|
9 |
|
9 |
|
10 |
|
|
|
||
64 |
|
65 |
|
65 |
|
66 |
|
66 |
|
67 |
|
67 |
|
|
|
68 |
|
|
|
|
68 |
|
|
|
69 |
|
|
69 |
|
70 |
|
70 |
|
|
|
71 |
|
|
|
|
71 |
|
|
|
72 |
|
|
72 |
|
73 |
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
76 |
|
79 |
|
77 |
|
80 |
|
78 |
|
81 |
|
|
|
||
169 |
|
172 |
|
170 |
|
173 |
|
171 |
|
174 |
|
172 |
|
|
|
173 |
|
|
|
174 |
|
|
|
175 |
|
|
|
176 |
|
|
|
177 |
|
|
|
178 |
|
|
|
|
175 |
|
|
|
176 |
|
|
|
177 |
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
|
|
|
184 |
|
|
179 |
|
185 |
|
180 |
|
186 |
|
181 |
|
187 |
|
|
|
||
277 |
|
283 |
|
278 |
|
284 |
|
279 |
|
285 |
|
|
286 |
|
|
|
287 |
|
|
|
288 |
|
|
|
289 |
|
|
|
290 |
|
|
|
291 |
|
|
|
292 |
|
|
|
293 |
|
|
|
294 |
|
|
|
295 |
|
|
|
296 |
|
|
|
297 |
|
|
|
298 |
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
|
|
|
302 |
|
|
|
303 |
|
|
280 |
|
304 |
|
281 |
|
305 |
|
282 |
|
306 |
|
|
|
||
293 |
|
317 |
|
294 |
|
318 |
|
295 |
|
319 |
|
|
320 |
|
|
|
321 |
|
|
|
322 |
|
|
|
323 |
|
|
296 |
|
324 |
|
297 |
|
325 |
|
298 |
|
326 |
|
|
|
||
369 |
|
397 |
|
370 |
|
398 |
|
371 |
|
399 |
|
|
400 |
|
|
|
401 |
|
|
|
402 |
|
|
372 |
|
403 |
|
373 |
|
404 |
|
374 |
|
405 |
|
|
|
||
637 |
|
668 |
|
638 |
|
669 |
|
639 |
|
670 |
|
640 |
|
|
|
|
671 |
|
|
|
672 |
|
|
|
673 |
|
|
|
674 |
|
|
|
675 |
|
|
|
676 |
|
|
|
677 |
|
|
|
678 |
|
|
|
679 |
|
|
|
680 |
|
|
|
681 |
|
|
|
682 |
|
|
|
683 |
|
|
|
684 |
|
|
|
685 |
|
|
|
686 |
|
|
|
687 |
|
|
|
688 |
|
|
|
689 |
|
|
|
690 |
|
|
641 |
|
691 |
|
642 |
|
692 |
|
643 |
|
693 |
|
|
|
||
651 |
|
701 |
|
652 |
|
702 |
|
653 |
|
703 |
|
|
704 |
|
|
|
705 |
|
|
|
706 |
|
|
654 |
|
707 |
|
655 |
|
708 |
|
656 |
|
709 |
|
|
|
||
681 |
|
734 |
|
682 |
|
735 |
|
683 |
|
736 |
|
|
737 |
|
|
|
738 |
|
|
684 |
|
739 |
|
685 |
|
740 |
|
686 |
|
741 |
|
|
|
||
703 |
|
758 |
|
704 |
|
759 |
|
705 |
|
760 |
|
706 |
|
|
|
707 |
|
761 |
|
708 |
|
762 |
|
709 |
|
763 |
|
710 |
|
|
|
711 |
|
|
|
|
764 |
|
|
|
765 |
|
|
|
766 |
|
|
|
767 |
|
|
712 |
|
768 |
|
713 |
|
769 |
|
714 |
|
770 |
|
|
|
||
718 |
|
774 |
|
719 |
|
775 |
|
720 |
|
776 |
|
721 |
|
|
|
722 |
|
777 |
|
723 |
|
778 |
|
724 |
|
779 |
|
725 |
|
|
|
726 |
|
|
|
727 |
|
|
|
|
780 |
|
|
|
781 |
|
|
|
782 |
|
|
728 |
|
783 |
|
729 |
|
784 |
|
730 |
|
785 |
|
|
|
||
64 |
|
64 |
|
65 |
|
65 |
|
66 |
|
66 |
|
67 |
|
|
|
|
67 |
|
|
68 |
|
68 |
|
69 |
|
69 |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
70 |
|
73 |
|
71 |
|
74 |
|
72 |
|
75 |
|
|
|
||
204 |
|
207 |
|
205 |
|
208 |
|
206 |
|
209 |
|
207 |
|
|
|
|
210 |
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
|
|
208 |
|
214 |
|
209 |
|
215 |
|
210 |
|
216 |
|