Logo Search packages:      
Sourcecode: shntool version File versions  Download package

format_tta.c

/*  format_tta.c - tta format module
 *  Copyright (C) 2000-2008  Jason Jordan <shnutils@freeshell.org>
 *
 *  This program is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU General Public License
 *  as published by the Free Software Foundation; either version 2
 *  of the License, or (at your option) any later version.
 *
 *  This program 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 General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */

#include "format.h"

CVSID("$Id: format_tta.c,v 1.23 2008/02/18 23:25:14 jason Exp $")

#define TTA "ttaenc"

#define TTA_MAGIC "TTA1"

static char default_decoder_args[] = "-d -o - " FILENAME_PLACEHOLDER;
static char default_encoder_args[] = "-e -o " FILENAME_PLACEHOLDER " -";

format_module format_tta = {
  "tta",
  "TTA Lossless Audio Codec",
  CVSIDSTR,
  TRUE,
  TRUE,
  FALSE,
  TRUE,
  TRUE,
  TRUE,
  NULL,
  TTA_MAGIC,
  0,
  "tta",
  TTA,
  default_decoder_args,
  TTA,
  default_encoder_args,
  NULL,
  NULL,
  NULL,
  NULL,
  NULL,
  NULL
};

Generated by  Doxygen 1.6.0   Back to index