Commit 203d06bd authored by Martin Storsjö's avatar Martin Storsjö

omxil: Signal the right AMR frame format

The previously used enum is only used for conformance tests and
is not the one commonly used in practice - the file storage format
is the commonly used one (which also is used within Android).
Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 9a2d547c
......@@ -659,7 +659,7 @@ OMX_ERRORTYPE SetAudioParameters(OMX_HANDLETYPE handle,
param->amr.nBitRate = i_bitrate;
param->amr.eAMRBandMode = OMX_AUDIO_AMRBandModeUnused;
param->amr.eAMRDTXMode = OMX_AUDIO_AMRDTXModeOff;
param->amr.eAMRFrameFormat = OMX_AUDIO_AMRFrameFormatConformance;
param->amr.eAMRFrameFormat = OMX_AUDIO_AMRFrameFormatFSF;
break;
case OMX_AUDIO_CodingG723:
OMX_INIT_STRUCTURE(param->g723);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment