1 Debian patch touch this file
-
make it compile with gcc15
| 1 | /* $Id: native.h,v 1.3 1999/03/10 07:58:04 boyns Exp $ */ |
| 2 | |
| 3 | /* |
| 4 | * Copyright (C) 1993-99 Mark R. Boyns <[email protected]> |
| 5 | * |
| 6 | * This file is part of rplay. |
| 7 | * |
| 8 | * rplay is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; either version 2 of the License, or |
| 11 | * (at your option) any later version. |
| 12 | * |
| 13 | * rplay is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with rplay; see the file COPYING. If not, write to the |
| 20 | * Free Software Foundation, Inc., |
| 21 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
| 22 | */ |
| 23 | |
| 24 | |
| 25 | |
| 26 | #ifndef _native_h |
| 27 | #define _native_h |
| 28 | |
| 29 | #ifdef HAVE_CONFIG_H |
| 30 | #include "config.h" |
| 31 | #endif |
| 32 | #include "spool.h" |
| 33 | |
| 34 | #ifdef __STDC__ |
| •35 | //XXX original: typedef int (*NATIVE_FUNC) (char *, int, int); |
| 36 | typedef int (*NATIVE_FUNC) (SPOOL *, char *, int, int); |
| 37 | #else |
| 38 | typedef int (*NATIVE_FUNC) (); |
| 39 | #endif |
| 40 | |
| 41 | typedef struct |
| 42 | { |
| 43 | NATIVE_FUNC to_native[2]; |
| 44 | NATIVE_FUNC from_native[2]; |
| 45 | } |
| 46 | NATIVE_TABLE; |
| 47 | extern NATIVE_TABLE native_table[]; |
| 48 | |
| •49 | extern void zero_native (char *native_buf, int nsamples, int nchannels); |
| 50 | extern void level (char *native_buf, int nsamples, int nchannels); |
| 51 | |
| 52 | #ifdef FAKE_VOLUME |
| •53 | extern void fake_volume (char *native_buf, int nsamples, int nchannels); |
| 54 | #endif /* FAKE_VOLUME */ |
| 55 | |
| 56 | #endif /* _native_h */ |