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

Function FFMS_CreateAudioSource2

src/core/ffms.cpp:115–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115FFMS_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
124FFMS_API(void) FFMS_DestroyVideoSource(FFMS_VideoSource *V) {
125 delete V;

Callers 2

FFMS_CreateAudioSourceFunction · 0.85
AvisynthAudioSourceMethod · 0.85

Calls 1

CopyOutMethod · 0.80

Tested by

no test coverage detected