shithub: sox

ref: 08cd2f3d04583fc45a3cf2852a940f27adfafede
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,
  sox_format_nothing_seek
};

const sox_format_handler_t *sox_dvms_format_fn(void);

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