X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fsox%2Ffactory.c;fp=src%2Fmodules%2Fsox%2Ffactory.c;h=fc6448d2b47d90a1dbd98e8c290bf38640882b06;hb=d33f444d4ef4c7bc4074d07a49eca0ab7d108394;hp=e50fb7f7647aee034859493e241867fcc1fd1205;hpb=5dfa26cd3010e4e236acd82ad9ecfdd8238e707e;p=melted diff --git a/src/modules/sox/factory.c b/src/modules/sox/factory.c index e50fb7f..fc6448d 100644 --- a/src/modules/sox/factory.c +++ b/src/modules/sox/factory.c @@ -19,27 +19,28 @@ */ #include +#include -#include "filter_sox.h" +extern mlt_filter filter_sox_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg ); -void *mlt_create_producer( char *id, void *arg ) +void *mlt_create_producer( mlt_profile profile, mlt_service_type type, const char *id, char *arg ) { return NULL; } -void *mlt_create_filter( char *id, void *arg ) +void *mlt_create_filter( mlt_profile profile, mlt_service_type type, const char *id, char *arg ) { if ( !strcmp( id, "sox" ) ) - return filter_sox_init( arg ); + return filter_sox_init( profile, type, id, arg ); return NULL; } -void *mlt_create_transition( char *id, void *arg ) +void *mlt_create_transition( mlt_profile profile, mlt_service_type type, const char *id, char *arg ) { return NULL; } -void *mlt_create_consumer( char *id, void *arg ) +void *mlt_create_consumer( mlt_profile profile, mlt_service_type type, const char *id, char *arg ) { return NULL; }