Currently AAPXS "opcode" is not included in the packet format (it is assumed as head of the "data" section), but it should be an isolated field, just as Binder AIDL extension() function defines it so. If we do not do so, there will be incompatible interpretation on data field (and dataSize field).
TODOs:
[x] add opcode field in the format description in midi.h
[x] generator needs to take care of it
[x] parser needs to take care of it
[x] AudioPluginNode in PluginPlayer needs to take care of it
Currently AAPXS "opcode" is not included in the packet format (it is assumed as head of the "data" section), but it should be an isolated field, just as Binder AIDL
extension()
function defines it so. If we do not do so, there will be incompatible interpretation ondata
field (anddataSize
field).TODOs:
opcode
field in the format description inmidi.h