diff options
Diffstat (limited to 'src/post/audio')
-rw-r--r-- | src/post/audio/stretch.c | 14 | ||||
-rw-r--r-- | src/post/audio/upmix.c | 14 | ||||
-rw-r--r-- | src/post/audio/upmix_mono.c | 14 | ||||
-rw-r--r-- | src/post/audio/volnorm.c | 14 |
4 files changed, 8 insertions, 48 deletions
diff --git a/src/post/audio/stretch.c b/src/post/audio/stretch.c index 5aa7a0617..455001deb 100644 --- a/src/post/audio/stretch.c +++ b/src/post/audio/stretch.c @@ -659,16 +659,6 @@ static post_plugin_t *stretch_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *stretch_get_identifier(post_class_t *class_gen) -{ - return "stretch"; -} - -static char *stretch_get_description(post_class_t *class_gen) -{ - return "Time stretch by a given factor, optionally preserving pitch"; -} - static void stretch_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -683,8 +673,8 @@ void *stretch_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = stretch_open_plugin; - class->post_class.get_identifier = stretch_get_identifier; - class->post_class.get_description = stretch_get_description; + class->post_class.identifier = "stretch"; + class->post_class.description = _("Time stretch by a given factor, optionally preserving pitch"); class->post_class.dispose = stretch_class_dispose; class->xine = xine; diff --git a/src/post/audio/upmix.c b/src/post/audio/upmix.c index e1b2afbe3..e2c9f84a3 100644 --- a/src/post/audio/upmix.c +++ b/src/post/audio/upmix.c @@ -414,16 +414,6 @@ static post_plugin_t *upmix_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *upmix_get_identifier(post_class_t *class_gen) -{ - return "upmix"; -} - -static char *upmix_get_description(post_class_t *class_gen) -{ - return "upmix"; -} - static void upmix_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -438,8 +428,8 @@ void *upmix_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = upmix_open_plugin; - class->post_class.get_identifier = upmix_get_identifier; - class->post_class.get_description = upmix_get_description; + class->post_class.identifier = "upmix"; + class->post_class.description = _("upmix"); class->post_class.dispose = upmix_class_dispose; class->xine = xine; diff --git a/src/post/audio/upmix_mono.c b/src/post/audio/upmix_mono.c index 195831123..dad9e5274 100644 --- a/src/post/audio/upmix_mono.c +++ b/src/post/audio/upmix_mono.c @@ -329,16 +329,6 @@ static post_plugin_t *upmix_mono_open_plugin(post_class_t *class_gen, int inputs return &this->post; } -static char *upmix_mono_get_identifier(post_class_t *class_gen) -{ - return "upmix_mono"; -} - -static char *upmix_mono_get_description(post_class_t *class_gen) -{ - return "converts Mono into Stereo"; -} - static void upmix_mono_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -353,8 +343,8 @@ void *upmix_mono_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = upmix_mono_open_plugin; - class->post_class.get_identifier = upmix_mono_get_identifier; - class->post_class.get_description = upmix_mono_get_description; + class->post_class.identifier = "upmix_mono"; + class->post_class.description = _("converts Mono into Stereo"); class->post_class.dispose = upmix_mono_class_dispose; class->xine = xine; diff --git a/src/post/audio/volnorm.c b/src/post/audio/volnorm.c index 783c1e26d..47cd400be 100644 --- a/src/post/audio/volnorm.c +++ b/src/post/audio/volnorm.c @@ -447,16 +447,6 @@ static post_plugin_t *volnorm_open_plugin(post_class_t *class_gen, int inputs, return &this->post; } -static char *volnorm_get_identifier(post_class_t *class_gen) -{ - return "volnorm"; -} - -static char *volnorm_get_description(post_class_t *class_gen) -{ - return "Normalize volume"; -} - static void volnorm_class_dispose(post_class_t *class_gen) { free(class_gen); @@ -471,8 +461,8 @@ void *volnorm_init_plugin(xine_t *xine, void *data) return NULL; class->post_class.open_plugin = volnorm_open_plugin; - class->post_class.get_identifier = volnorm_get_identifier; - class->post_class.get_description = volnorm_get_description; + class->post_class.identifier = "volnorm"; + class->post_class.description = _("Normalize volume"); class->post_class.dispose = volnorm_class_dispose; class->xine = xine; |