shithub: sox

ref: 22b6b7d61db4e1e79ce2e4513fa3912048bc67ff
dir: /src/rate.c/

View raw version
/*
 * libSoX rate change effect.
 *
 * Now obsolete, and implemented by resample. Name retained for
 * backwards compatibility.
 */

#include "sox_i.h"
 
sox_effect_handler_t const * sox_rate_effect_fn(void)
{
  static sox_effect_handler_t handler;
  handler = *sox_resample_effect_fn();
  handler.name = "rate";
  handler.usage = NULL;
  handler.getopts = NULL;
  handler.flags |= SOX_EFF_DEPRECATED;
  return &handler;
}