shithub: sox

ref: ee4a8b7f2a9fad2e0782b427d068117371c4f7cf
dir: /src/ima-fmt.c/

View raw version
/*
 * SOX file format handler for Dialogic/Oki ADPCM VOX files.
 *
 * Copyright 1991-2007 Tony Seebregts And Sundry Contributors
 *
 * This source code is freely redistributable and may be used for any
 * purpose.  This copyright notice must be maintained.
 *
 * Tony Seebregts And Sundry Contributors are not responsible for the
 * consequences of using this software.
 */

#include "sox_i.h"
#include "vox.h"

const sox_format_handler_t *sox_ima_format_fn(void);

const sox_format_handler_t *sox_ima_format_fn(void)
{
  static char const * names[] = {"ima", NULL};
  static sox_format_handler_t handler = {
    names, 0,
    sox_ima_start,
    sox_vox_read,
    sox_vox_stopread,
    sox_ima_start,
    sox_vox_write,
    sox_vox_stopwrite,
    sox_format_nothing_seek
  };
  return &handler;
}