| 113 | } |
| 114 | |
| 115 | FFMS_API(FFMS_AudioSource *) FFMS_CreateAudioSource2(const char *SourceFile, int Track, FFMS_Index *Index, int DelayMode, int FillGaps, double DrcScale, FFMS_ErrorInfo *ErrorInfo) { |
| 116 | try { |
| 117 | return new FFMS_AudioSource(SourceFile, *Index, Track, DelayMode, FillGaps, DrcScale); |
| 118 | } catch (FFMS_Exception &e) { |
| 119 | e.CopyOut(ErrorInfo); |
| 120 | return nullptr; |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | FFMS_API(void) FFMS_DestroyVideoSource(FFMS_VideoSource *V) { |
| 125 | delete V; |
no test coverage detected