Home
last modified time | relevance | path

Searched refs:AudioAPI (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c90 VO_AUDIO_CODECAPI AudioAPI; in encode() local
149 returnCode = pGetAPI(&AudioAPI); in encode()
156 ret = voGetAMRWBEncAPI(&AudioAPI); in encode()
166 ret = AudioAPI.Init(&hCodec, VO_AUDIO_CodingAMRWB, &useData); in encode()
184 ret = AudioAPI.SetParam(hCodec, VO_PID_AMRWB_FRAMETYPE, &frameType); in encode()
185 ret = AudioAPI.SetParam(hCodec, VO_PID_AMRWB_MODE, &mode); in encode()
186 ret = AudioAPI.SetParam(hCodec, VO_PID_AMRWB_DTX, &allow_dtx); in encode()
207 returnCode = AudioAPI.SetInputData(hCodec,&inData); in encode()
210 returnCode = AudioAPI.GetOutputData(hCodec,&outData, &outFormat); in encode()
246 returnCode = AudioAPI.Uninit(hCodec); in encode()
/frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
DAAC_E_SAMPLES.c137 VO_AUDIO_CODECAPI AudioAPI; in main() local
205 returnCode = pGetAPI(&AudioAPI); in main()
211 returnCode = AudioAPI.Init(&hCodec, VO_AUDIO_CodingAAC, &useData); in main()
218 returnCode = AudioAPI.SetParam(hCodec, VO_PID_AAC_ENCPARAM, &aacpara); in main()
233 returnCode = AudioAPI.SetInputData(hCodec,&inData); in main()
239 returnCode = AudioAPI.GetOutputData(hCodec,&outData, &outInfo); in main()
272 returnCode = AudioAPI.Uninit(hCodec); in main()