I currently try to figure out how to access the Camera via OpenMAX in Android 4.0. The documentation is not sufficient for me so I currently struggle with how I can retrieve the correct XADataSource
for the following call.
(*_engine)->CreateMediaRecorder(_engine,
&_mediaRecorder, //pRecorder
nullptr, //pAudioSrc
XADataSource *, //pImageVideoSrc
XADataSink *, //pDataSnk
XAuint32, // numInterfaces
const XAInterfaceID *, //pInterfaceIds
const XAboolean *, //pInterfaceRequired
);
And please spare me the just use Java-"answers".