Debian Codegraph @

rplayd/helper.h

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 /* $Id: helper.h,v 1.4 1999/06/09 06:27:44 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 #ifndef _helper_h
25 #define _helper_h
26
27 #ifdef HAVE_HELPERS
28
29 #ifdef HAVE_RX_RXPOSIX_H
30 #include <rx/rxposix.h>
31 #else
32 #ifdef HAVE_RXPOSIX_H
33 #include <rxposix.h>
34 #else
35 #include "rxposix.h"
36 #endif
37 #endif
38
39 typedef struct _helper
40 {
41 struct _helper *next;
42 regex_t pattern;
43 char *program;
44 int format;
45 int sample_rate;
46 int precision;
47 int channels;
48 int byte_order;
49 }
50 HELPER;
51
52 extern HELPER *helpers;
53
54 extern void helper_read (/* char *filename */);
55 extern void helper_stat (/* char *filename */);
56 extern HELPER *helper_lookup (/* char *sound */);
57
58 #endif /* HAVE_HELPERS */
59 #endif /* _helper_h */