| 204 | } |
| 205 | |
| 206 | FFMS_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 | |
| 216 | FFMS_API(void) FFMS_DestroyIndex(FFMS_Index *Index) { |
| 217 | delete Index; |
nothing calls this directly
no test coverage detected