MCPcopy Create free account
hub / github.com/FFMS/ffms2 / FFMS_SetOutputFormatA

Function FFMS_SetOutputFormatA

src/core/ffms.cpp:206–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206FFMS_API(int) FFMS_SetOutputFormatA(FFMS_AudioSource *A, const FFMS_ResampleOptions *options, FFMS_ErrorInfo *ErrorInfo) {
207 ClearErrorInfo(ErrorInfo);
208 try {
209 A->SetOutputFormat(*options);
210 } catch (FFMS_Exception &e) {
211 return e.CopyOut(ErrorInfo);
212 }
213 return FFMS_ERROR_SUCCESS;
214}
215
216FFMS_API(void) FFMS_DestroyIndex(FFMS_Index *Index) {
217 delete Index;

Callers

nothing calls this directly

Calls 3

ClearErrorInfoFunction · 0.85
CopyOutMethod · 0.80
SetOutputFormatMethod · 0.45

Tested by

no test coverage detected