shithub: sox

ref: 90dfe0bb878eef192c703f1759f57777a0870922
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,
    NULL
  };
  return &handler;
}