shithub: sox

ref: 902c9fc8930d81d4a81e110f82ffba657b73d87d
dir: /src/dvms-fmt.c/

View raw version
/*
 *      DVMS format module (implementation in cvsd.c)
 *
 *      Copyright (C) 1996-2007 Thomas Sailer and SoX Contributors
 *      Thomas Sailer (sailer@ife.ee.ethz.ch) (HB9JNX/AE4WA)
 *      Swiss Federal Institute of Technology, Electronics Lab
 *
 *   This library is free software; you can redistribute it and/or
 *   modify it under the terms of the GNU Lesser General Public
 *   License as published by the Free Software Foundation; either
 *   version 2 of the License, or (at your option) any later version.
 *
 *   This library is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *   Lesser General Public License for more details.
 *
 *   You should have received a copy of the GNU Lesser General Public
 *   License along with this library; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

#include "sox_i.h"
#include "cvsd.h"
 
/* Cont. Variable Solot Delta */
static const char *dvmsnames[] = {
  "vms",
  "dvms",
  NULL
};

static sox_format_handler_t sox_dvms_format = {
  dvmsnames,
  0,
  sox_dvmsstartread,
  sox_cvsdread,
  sox_cvsdstopread,
  sox_dvmsstartwrite,
  sox_cvsdwrite,
  sox_dvmsstopwrite,
  NULL
};

const sox_format_handler_t *sox_dvms_format_fn(void);

const sox_format_handler_t *sox_dvms_format_fn(void)
{
    return &sox_dvms_format;
}