3 * gtk2 spectrum analyzer
5 * Copyright (C) 2004-2012 Monty
7 * This analyzer is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
12 * The analyzer is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Postfish; see the file COPYING. If not, write to the
19 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
29 #define _ISOC99_SOURCE
30 #define _FILE_OFFSET_BITS 64
47 extern pthread_mutex_t blockbuffer_mutex
;
49 extern int input_load(void);
50 extern int pipe_reload(void);
51 extern int input_read(int loop_p
, int partial_p
);
52 extern int rewind_files(void);
57 extern int bits
[MAX_FILES
];
58 extern int bigendian
[MAX_FILES
];
59 extern int channels
[MAX_FILES
];
60 extern int rate
[MAX_FILES
];
61 extern int signedp
[MAX_FILES
];
62 extern int bits_force
[MAX_FILES
];
63 extern int bigendian_force
[MAX_FILES
];
64 extern int channels_force
[MAX_FILES
];
65 extern int rate_force
[MAX_FILES
];
66 extern int signed_force
[MAX_FILES
];
68 extern char *inputname
[MAX_FILES
];
69 extern int seekable
[MAX_FILES
];
70 extern int global_seekable
;
72 extern sig_atomic_t blockslice_frac
;
73 extern int blockslice_count
;
74 extern int blockslice_cursor
[MAX_FILES
];
75 extern int blockslice_eof
[MAX_FILES
];
76 extern int blockslice_adv
[MAX_FILES
];
77 extern int blockbufferfill
[MAX_FILES
];
78 extern int blockbuffernew
[MAX_FILES
];
79 extern float **blockbuffer
;