/* format_tak.c - tak format module * Copyright (C) 2000-2006 Jason Jordan * * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "format.h" CVSID("$Id: format_tak.c,v 1.7 2007/12/16 16:19:11 jason Exp $") #define TAK "takc" #define TAK_MAGIC "tBaK" static char default_encoder_args[] = "-e -ihs - " FILENAME_PLACEHOLDER; static FILE *open_for_input(char *,proc_info *); format_module format_tak = { "tak", "(T)om's lossless (A)udio (K)ompressor", CVSIDSTR, TRUE, TRUE, FALSE, TRUE, TRUE, FALSE, NULL, TAK_MAGIC, 0, "tak", NULL, NULL, TAK, default_encoder_args, NULL, open_for_input, NULL, NULL, NULL, NULL }; static FILE *open_for_input(char *filename,proc_info *pinfo) { st_debug1("encountered unsupported TAK file: [%s]",filename); pinfo->pid = NO_CHILD_PID; return NULL; }