Here are the steps to capture audio:
1. Set encOutputType to 0 (AV_TS) or 1 (AV_ES)
2. Build the sample in Debug mode and set a break point at the following location
Function: int32 setUp(EncoderConfigCtrl *pConfig)
Breakpoint at: if (AMF_OK != mLastAmfErrorCode) -- Line number 200
run the sample, after hitting break point, do the below said procedure for first time on your PC
a. Go to "Control Panel -> Hardware and Sound -> Playback", we can see "AMD Wireless" device, set it as default device
b. Play any supported AV file using any media player (audio must be playable)
3. Go back to sample and continue running the sample
Please let us know if you have any further clarification.
I will apply outlined steps and report back.
The returned AMFDemBuffer contains LPCM data and there is no problem except AMFDemBuffer.GetTimeStamp() always returns 0.
Thank you for the report. We have confirmed and filed a defect, which has been assigned to an engineering team. I cannot say how it will be prioritized or if/when it will be fixed.