1 /* -*- linux-c -*- 2 Copyright (C) 2005 Tom Szilagyi 3 4 This program is free software; you can redistribute it and/or modify 5 it under the terms of the GNU General Public License as published by 6 the Free Software Foundation; either version 2 of the License, or 7 (at your option) any later version. 8 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU General Public License for more details. 13 14 You should have received a copy of the GNU General Public License 15 along with this program; if not, write to the Free Software 16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 17 18 $Id: dec_null.h 1234 2012-02-04 10:27:18Z assworth $ 19 */ 20 21 #ifndef AQUALUNG_DEC_NULL_H 22 #define AQUALUNG_DEC_NULL_H 23 24 #include "file_decoder.h" 25 26 27 /* private data of the decoder */ 28 typedef struct _null_pdata_t { 29 int dummy; 30 } null_pdata_t; 31 32 33 decoder_t * null_decoder_init(file_decoder_t * fdec); 34 void null_decoder_destroy(decoder_t * dec); 35 int null_decoder_open(decoder_t * dec, char * filename); 36 void null_decoder_send_metadata(decoder_t * dec); 37 void null_decoder_close(decoder_t * dec); 38 unsigned int null_decoder_read(decoder_t * dec, float * dest, int num); 39 void null_decoder_seek(decoder_t * dec, unsigned long long seek_to_pos); 40 41 42 #endif /* AQUALUNG_DEC_NULL_H */ 43 44 // vim: shiftwidth=8:tabstop=8:softtabstop=8 : 45 46