DescriptionNetEq: Changed Packet::payload to be an rtc::Buffer
That is, rather than keeping a separate pointer and size.
This helps automate memory management in NetEq and will be useful in the
work to minimize the AudioDecoder interface as part of the injectable
audio codec work.
I'm planning a follow-up that will change the current management of Packet* to wrapping them in unique_ptr instead.
Committed: https://crrev.com/dc431ce07e3e7feb46a00886aa5b5c9684761758
Cr-Commit-Position: refs/heads/master@{#14002}
Patch Set 1 #
Total comments: 18
Patch Set 2 : Changed Buffer constructor calls to SetData or SetSize #
Total comments: 1
Depends on Patchset: Messages
Total messages: 19 (11 generated)
|