-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Problem/Opportunity
The documentation for the following AIDL interface methods needs to be updated to clarify buffer ownership responsibilities:
IAudioDecoderController.aidl::decodeBuffer
IAudioSinkController.aidl::queueAudioFrame
IVideoDecoderController.aidl::decodeBuffer
Steps to reproduce
Update the method descriptions to include the following line:
For the Audio Sink
All buffers passed into queueAudioFrame() are the responsibility of the Audio Sink HAL service to free.
For the Audio decoder
All buffers passed into decodeBuffer() are the responsibility of the Audio Decoder HAL service to free.
For the Video Sink
All buffers passed into queueVideoFrame() are the responsibility of the Video Sink HAL service to free.
For the Video decoder
All buffers passed into decodeBuffer() are the responsibility of the Video Decoder HAL service to free.
Expected Behavior
Update the method descriptions to include the following line:
For the Audio Sink
All buffers passed into queueAudioFrame() are the responsibility of the Audio Sink HAL service to free.
For the Audio decoder
All buffers passed into decodeBuffer() are the responsibility of the Audio Decoder HAL service to free.
For the Video Sink
All buffers passed into queueVideoFrame() are the responsibility of the Video Sink HAL service to free.
For the Video decoder
All buffers passed into decodeBuffer() are the responsibility of the Video Decoder HAL service to free.
Actual Behavior
Once the decoder has finished processing the buffer, it is automatically released
* and returned to the AV Buffer Manager. The caller must not modify or free the
* buffer after submission.
Notes (Optional)
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status